Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001254/0.001254, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001463/0.001463, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.88 MB / 361.3 MB, free: 4.465 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 75.88 kB / 0.4971 GB, free: 7.559 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3523, allocations: 66.03 MB / 0.5616 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003221/0.3556, allocations: 1.838 MB / 0.5634 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.3583, allocations: 1.807 MB / 0.5651 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.07e-05/0.3584, allocations: 7.938 kB / 0.5652 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.3588, allocations: 51.69 kB / 0.5652 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.3592, allocations: 139.3 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.3594, allocations: 107.7 kB / 0.5654 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.3597, allocations: 211.3 kB / 0.5656 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.4e-05/0.3597, allocations: 5.812 kB / 0.5656 GB, free: 472 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001551/0.3599, allocations: 99.55 kB / 0.5657 GB, free: 372 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.3601, allocations: 83.56 kB / 0.5658 GB, free: 288 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.94e-05/0.3602, allocations: 12 kB / 0.5658 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.3604, allocations: 111.9 kB / 0.5659 GB, free: 164 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.147e-05/0.3605, allocations: 39.89 kB / 0.566 GB, free: 124 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.257e-05/0.3606, allocations: 59.55 kB / 0.566 GB, free: 64 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.3609, allocations: 233.6 kB / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3609, allocations: 0 / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3609, allocations: 0 / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.413e-06/0.3609, allocations: 4 kB / 0.5663 GB, free: 15.84 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006987/0.3616, allocations: 432.8 kB / 0.5667 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3617, allocations: 15.97 kB / 0.5667 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.439e-05/0.3617, allocations: 16.84 kB / 0.5667 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.3621, allocations: 190.2 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3621, allocations: 384 / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.3621, allocations: 4.375 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.3624, allocations: 113.3 kB / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.3624, allocations: 0 / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3624, allocations: 0 / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3624, allocations: 3.984 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.3625, allocations: 31.97 kB / 0.567 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.3627, allocations: 201.5 kB / 0.5672 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.363, allocations: 101.2 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.601e-05/0.3631, allocations: 33.7 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.3631, allocations: 8 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002228/0.3634, allocations: 109 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.3634, allocations: 4 kB / 0.5675 GB, free: 14.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004607/0.3638, allocations: 169.4 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.92e-05/0.3639, allocations: 132.5 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000302/0.3642, allocations: 238.3 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.3642, allocations: 25.7 kB / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.3643, allocations: 116.1 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.954e-05/0.3644, allocations: 31.8 kB / 0.5681 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.3644, allocations: 25.72 kB / 0.5682 GB, free: 13.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.3646, allocations: 330.8 kB / 0.5685 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/0.3647, allocations: 27.98 kB / 0.5685 GB, free: 13.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.3648, allocations: 80.45 kB / 0.5686 GB, free: 13.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.365, allocations: 87.41 kB / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.365, allocations: 0 / 0.5687 GB, free: 13.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000283/0.3653, allocations: 146 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3653, allocations: 5.875 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3653, allocations: 4 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3653, allocations: 0 / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.3654, allocations: 31.92 kB / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.3654, allocations: 0 / 0.5689 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.078e-05/0.3655, allocations: 15.88 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.3655, allocations: 11.88 kB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/0.3656, allocations: 135.7 kB / 0.569 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.363e-05/0.3657, allocations: 23.84 kB / 0.569 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.366, allocations: 146.7 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.366, allocations: 4 kB / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.366, allocations: 0 / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.366, allocations: 0 / 0.5692 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.3662, allocations: 200.6 kB / 0.5694 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3662, allocations: 0 / 0.5694 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.3663, allocations: 11.92 kB / 0.5694 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3663, allocations: 8 kB / 0.5694 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3663, allocations: 0 / 0.5694 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3663, allocations: 0 / 0.5694 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3663, allocations: 4 kB / 0.5694 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.3666, allocations: 165.8 kB / 0.5695 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.3666, allocations: 23.77 kB / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.3667, allocations: 8 kB / 0.5696 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.3667, allocations: 11.98 kB / 0.5696 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.3668, allocations: 11.92 kB / 0.5696 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.3668, allocations: 12.12 kB / 0.5696 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001819/0.367, allocations: 172.5 kB / 0.5698 GB, free: 11.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.367, allocations: 0 / 0.5698 GB, free: 11.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.3672, allocations: 59.86 kB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001749/0.369, allocations: 0.4922 MB / 0.5703 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.3693, allocations: 75.91 kB / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3693, allocations: 0 / 0.5704 GB, free: 11.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.3694, allocations: 39.92 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.3698, allocations: 60.06 kB / 0.5705 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.3703, allocations: 271.7 kB / 0.5707 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.3707, allocations: 0.7243 MB / 0.5714 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.747e-05/0.3708, allocations: 29.95 kB / 0.5715 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.463e-05/0.3708, allocations: 27.42 kB / 0.5715 GB, free: 10.22 MB / 414.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3708, allocations: 3.938 kB / 0.5715 GB, free: 10.21 MB / 414.1 MB Notification: Performance of Templates: time 0.007121/0.378, allocations: 3.17 MB / 0.5746 GB, free: 7.062 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.282505815848708]