Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 210.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.511/1.511, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3025/0.3025, allocations: 46.95 MB / 360.9 MB, free: 4.062 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00213/0.00213, allocations: 63.89 kB / 0.4967 GB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3672, allocations: 66.04 MB / 0.5612 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.004278/0.3714, allocations: 1.733 MB / 0.5628 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.3744, allocations: 0.9676 MB / 0.5638 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.3745, allocations: 3.938 kB / 0.5638 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005095/0.375, allocations: 111.7 kB / 0.5639 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005982/0.3756, allocations: 127.5 kB / 0.564 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.3761, allocations: 83.66 kB / 0.5641 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.3764, allocations: 127.7 kB / 0.5642 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.3766, allocations: 15.97 kB / 0.5642 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.3768, allocations: 63.77 kB / 0.5643 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.377, allocations: 75.67 kB / 0.5644 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.377, allocations: 4 kB / 0.5644 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002415/0.3773, allocations: 67.95 kB / 0.5644 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.846e-05/0.3774, allocations: 27.92 kB / 0.5645 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.061e-05/0.3775, allocations: 39.67 kB / 0.5645 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.3779, allocations: 157.7 kB / 0.5647 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3779, allocations: 0 / 0.5647 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3779, allocations: 0 / 0.5647 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.378, allocations: 0 / 0.5647 GB, free: 0.5742 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001377/0.3793, allocations: 397.2 kB / 0.565 GB, free: 160 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.824e-05/0.3794, allocations: 16.03 kB / 0.5651 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.3796, allocations: 12.84 kB / 0.5651 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009234/0.3805, allocations: 163.2 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.3805, allocations: 4.375 kB / 0.5652 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.764e-05/0.3806, allocations: 16.11 kB / 0.5652 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.3808, allocations: 65.59 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3808, allocations: 0 / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.3808, allocations: 7.984 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3808, allocations: 0 / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001533/0.381, allocations: 39.97 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005644/0.3815, allocations: 264.4 kB / 0.5656 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003801/0.3819, allocations: 82.47 kB / 0.5657 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.347e-05/0.382, allocations: 20.84 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.382, allocations: 4 kB / 0.5657 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/0.3822, allocations: 83.61 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.3822, allocations: 3.938 kB / 0.5658 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.001125/0.3834, allocations: 281.6 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/0.3834, allocations: 63.39 kB / 0.5661 GB, free: 14.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003991/0.3838, allocations: 267.7 kB / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.3839, allocations: 33.64 kB / 0.5664 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.384, allocations: 112.1 kB / 0.5665 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.183e-05/0.384, allocations: 39.67 kB / 0.5665 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/0.3841, allocations: 29.72 kB / 0.5666 GB, free: 14.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002124/0.3843, allocations: 330.8 kB / 0.5669 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.3844, allocations: 35.98 kB / 0.5669 GB, free: 14.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.3846, allocations: 53.69 kB / 0.567 GB, free: 14.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.3848, allocations: 101.6 kB / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3848, allocations: 0 / 0.5671 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003762/0.3852, allocations: 145.5 kB / 0.5672 GB, free: 13.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.3852, allocations: 4 kB / 0.5672 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.3852, allocations: 0 / 0.5672 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3853, allocations: 4 kB / 0.5672 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.3854, allocations: 23.92 kB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3854, allocations: 4 kB / 0.5672 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.3855, allocations: 7.891 kB / 0.5673 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/0.3855, allocations: 16.02 kB / 0.5673 GB, free: 13.7 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 (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.0001707/0.3857, allocations: 133.8 kB / 0.5674 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.3857, allocations: 15.91 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004878/0.3862, allocations: 174.9 kB / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3862, allocations: 0 / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.3862, allocations: 3.984 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3862, allocations: 3.938 kB / 0.5676 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008504/0.3871, allocations: 435.9 kB / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3871, allocations: 8.047 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-05/0.3872, allocations: 19.94 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.3872, allocations: 3.938 kB / 0.568 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.3872, allocations: 8 kB / 0.568 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.3872, allocations: 4 kB / 0.568 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3872, allocations: 0 / 0.568 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004682/0.3877, allocations: 261.1 kB / 0.5683 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.3877, allocations: 15.84 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.3878, allocations: 11.94 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.3879, allocations: 4 kB / 0.5683 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.3879, allocations: 19.91 kB / 0.5683 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.388, allocations: 8 kB / 0.5683 GB, free: 12.51 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002474/0.3882, allocations: 197.5 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3882, allocations: 0 / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004163/0.3886, allocations: 35.92 kB / 0.5686 GB, free: 12.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.00277/0.3914, allocations: 0.5464 MB / 0.5691 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003719/0.3918, allocations: 91.89 kB / 0.5692 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3918, allocations: 0 / 0.5692 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.392, allocations: 47.98 kB / 0.5692 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/0.3925, allocations: 36.41 kB / 0.5693 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009308/0.3935, allocations: 340.4 kB / 0.5696 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.3936, allocations: 106.6 kB / 0.5697 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000104/0.3937, allocations: 21.2 kB / 0.5697 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.505e-05/0.3938, allocations: 27.42 kB / 0.5697 GB, free: 11.27 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3938, allocations: 0 / 0.5697 GB, free: 11.27 MB / 414.1 MB Notification: Performance of Templates: time 0.009029/0.4028, allocations: 2.334 MB / 0.572 GB, free: 8.973 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.44602520018816]