Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.001556/0.001556, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001771/0.001771, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.507/1.507, allocations: 230.3 MB / 258 MB, free: 8.234 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.2306/0.2306, allocations: 46.89 MB / 361.3 MB, free: 4.531 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002237/0.002237, allocations: 79.86 kB / 0.4971 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3633, allocations: 66.03 MB / 0.5616 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003155/0.3664, allocations: 1.758 MB / 0.5633 GB, free: 2.836 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3682, allocations: 1.041 MB / 0.5643 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.867e-05/0.3683, allocations: 7.875 kB / 0.5643 GB, free: 1.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.3686, allocations: 59.75 kB / 0.5644 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003191/0.3689, allocations: 95.59 kB / 0.5645 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.3691, allocations: 83.66 kB / 0.5646 GB, free: 1.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.3693, allocations: 99.75 kB / 0.5647 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.904e-05/0.3694, allocations: 8 kB / 0.5647 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.3695, allocations: 55.7 kB / 0.5647 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.873e-05/0.3696, allocations: 31.8 kB / 0.5648 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.3696, allocations: 4 kB / 0.5648 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.887e-05/0.3697, allocations: 39.98 kB / 0.5648 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.3697, allocations: 35.84 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.22e-05/0.3698, allocations: 43.67 kB / 0.5649 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.37, allocations: 134 kB / 0.565 GB, free: 1.109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3701, allocations: 7.938 kB / 0.565 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3701, allocations: 0 / 0.565 GB, free: 1.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.3701, allocations: 0 / 0.565 GB, free: 1.102 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006269/0.3707, allocations: 381.2 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.3707, allocations: 8.031 kB / 0.5654 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.3708, allocations: 16.84 kB / 0.5654 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.3711, allocations: 163.3 kB / 0.5655 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.588e-06/0.3711, allocations: 384 / 0.5655 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.3711, allocations: 4.375 kB / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.3713, allocations: 57.98 kB / 0.5656 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3713, allocations: 3.938 kB / 0.5656 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.3713, allocations: 0 / 0.5656 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.3713, allocations: 4 kB / 0.5656 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.615e-05/0.3714, allocations: 19.98 kB / 0.5656 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.3718, allocations: 275.8 kB / 0.5659 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.3719, allocations: 50.69 kB / 0.5659 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.08e-05/0.372, allocations: 24.78 kB / 0.566 GB, free: 16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.372, allocations: 7.984 kB / 0.566 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001528/0.3722, allocations: 67.39 kB / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.3722, allocations: 0 / 0.566 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006028/0.3728, allocations: 185.5 kB / 0.5662 GB, free: 15.72 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3728, allocations: 51.41 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.3732, allocations: 270.8 kB / 0.5665 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.3732, allocations: 33.7 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.3733, allocations: 116.1 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.3733, allocations: 31.72 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.214e-05/0.3733, allocations: 21.72 kB / 0.5667 GB, free: 15.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.3735, allocations: 334.8 kB / 0.567 GB, free: 14.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.006e-05/0.3736, allocations: 16 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.88e-05/0.3736, allocations: 33.7 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.3738, allocations: 69.64 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.3738, allocations: 0 / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.374, allocations: 109.5 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.374, allocations: 7.938 kB / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.374, allocations: 0 / 0.5673 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.374, allocations: 7.984 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.3741, allocations: 12 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3741, allocations: 160 / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.15e-05/0.3742, allocations: 12.03 kB / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.3742, allocations: 0 / 0.5673 GB, free: 14.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001437/0.3743, allocations: 139.1 kB / 0.5674 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.981e-05/0.3743, allocations: 19.89 kB / 0.5674 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.3746, allocations: 123 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.3746, allocations: 3.984 kB / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3746, allocations: 0 / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3746, allocations: 0 / 0.5676 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005082/0.3751, allocations: 386.3 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3751, allocations: 0 / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.3752, allocations: 8 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3752, allocations: 0 / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3752, allocations: 4 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.297e-06/0.3752, allocations: 3.938 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3752, allocations: 0 / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.3755, allocations: 208.3 kB / 0.5682 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.74e-05/0.3755, allocations: 19.89 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.3755, allocations: 0 / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.3756, allocations: 3.938 kB / 0.5682 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.036e-05/0.3756, allocations: 11.98 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3756, allocations: 4 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001975/0.3758, allocations: 200.6 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3758, allocations: 4 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.3761, allocations: 28.11 kB / 0.5684 GB, free: 13.31 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001677/0.3778, allocations: 455.1 kB / 0.5688 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.378, allocations: 63.89 kB / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.378, allocations: 0 / 0.5689 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.165e-05/0.378, allocations: 28.08 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.3784, allocations: 40.09 kB / 0.569 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.379, allocations: 287.6 kB / 0.5692 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.3793, allocations: 0.7198 MB / 0.5699 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.368e-05/0.3794, allocations: 12.97 kB / 0.57 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/0.3794, allocations: 15.44 kB / 0.57 GB, free: 11.82 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3794, allocations: 4 kB / 0.57 GB, free: 11.81 MB / 414.1 MB Notification: Performance of Templates: time 0.005201/0.3846, allocations: 1.809 MB / 0.5717 GB, free: 10.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49.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.19419707916677]