Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.001324/0.001324, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001537/0.001537, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.515/1.515, allocations: 230.6 MB / 258.3 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2265/0.2265, allocations: 44.92 MB / 359.6 MB, free: 6.262 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 64.14 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3755, allocations: 65.47 MB / 0.5583 GB, free: 7.684 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003551/0.3791, allocations: 1.624 MB / 0.5598 GB, free: 6.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.3811, allocations: 1.255 MB / 0.5611 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.3812, allocations: 0 / 0.5611 GB, free: 4.809 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.3814, allocations: 27.77 kB / 0.5611 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.3817, allocations: 83.64 kB / 0.5612 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.382, allocations: 87.69 kB / 0.5613 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3822, allocations: 75.75 kB / 0.5613 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3823, allocations: 12 kB / 0.5613 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.156e-05/0.3823, allocations: 31.86 kB / 0.5614 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.3825, allocations: 31.84 kB / 0.5614 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.3825, allocations: 4 kB / 0.5614 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.3827, allocations: 95.92 kB / 0.5615 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.3827, allocations: 11.94 kB / 0.5615 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.329e-05/0.3828, allocations: 31.8 kB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.383, allocations: 141.9 kB / 0.5617 GB, free: 4.191 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.383, allocations: 3.938 kB / 0.5617 GB, free: 4.188 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.383, allocations: 0 / 0.5617 GB, free: 4.188 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.383, allocations: 8 kB / 0.5617 GB, free: 4.18 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005298/0.3836, allocations: 325.7 kB / 0.562 GB, free: 3.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3836, allocations: 8.031 kB / 0.562 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.3836, allocations: 8.891 kB / 0.562 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.3838, allocations: 134.3 kB / 0.5621 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.3839, allocations: 4.375 kB / 0.5621 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.3839, allocations: 384 / 0.5621 GB, free: 3.656 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.384, allocations: 71.52 kB / 0.5622 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3841, allocations: 0 / 0.5622 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.3841, allocations: 4 kB / 0.5622 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/0.3841, allocations: 0 / 0.5622 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.784e-05/0.3842, allocations: 19.98 kB / 0.5622 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.3845, allocations: 259.8 kB / 0.5625 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.3848, allocations: 42.56 kB / 0.5625 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.3848, allocations: 8.859 kB / 0.5625 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3848, allocations: 8.062 kB / 0.5625 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3849, allocations: 38.56 kB / 0.5626 GB, free: 3.137 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.3849, allocations: 0 / 0.5626 GB, free: 3.137 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005673/0.3854, allocations: 145.4 kB / 0.5627 GB, free: 2.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.3855, allocations: 77.11 kB / 0.5628 GB, free: 2.895 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.3857, allocations: 141.8 kB / 0.5629 GB, free: 2.746 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.3857, allocations: 25.7 kB / 0.563 GB, free: 2.715 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.3857, allocations: 96.12 kB / 0.563 GB, free: 2.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.3858, allocations: 23.8 kB / 0.5631 GB, free: 2.594 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.3858, allocations: 17.7 kB / 0.5631 GB, free: 2.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.386, allocations: 318.8 kB / 0.5634 GB, free: 2.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.386, allocations: 27.98 kB / 0.5634 GB, free: 2.223 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.435e-05/0.3861, allocations: 37.69 kB / 0.5635 GB, free: 2.18 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.3862, allocations: 44.84 kB / 0.5635 GB, free: 2.133 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3862, allocations: 0 / 0.5635 GB, free: 2.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001821/0.3864, allocations: 81.61 kB / 0.5636 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.3864, allocations: 10.53 kB / 0.5636 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3864, allocations: 0 / 0.5636 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3864, allocations: 0 / 0.5636 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.3865, allocations: 19.92 kB / 0.5636 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3865, allocations: 0 / 0.5636 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.37e-05/0.3866, allocations: 4 kB / 0.5636 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.3866, allocations: 3.938 kB / 0.5636 GB, free: 2.012 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.36e-05/0.3867, allocations: 117.8 kB / 0.5637 GB, free: 1.887 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/0.3867, allocations: 11.95 kB / 0.5637 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.3869, allocations: 102 kB / 0.5638 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3869, allocations: 0 / 0.5638 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.3869, allocations: 0 / 0.5638 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.387, allocations: 0 / 0.5638 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.3874, allocations: 321.5 kB / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3874, allocations: 320 / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.441e-05/0.3875, allocations: 23.98 kB / 0.5642 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3875, allocations: 0 / 0.5642 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.3875, allocations: 0 / 0.5642 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.3875, allocations: 3.938 kB / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3875, allocations: 0 / 0.5642 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.3877, allocations: 179.4 kB / 0.5643 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.943e-05/0.3878, allocations: 11.95 kB / 0.5643 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.3878, allocations: 4 kB / 0.5643 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.3879, allocations: 7.938 kB / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.3879, allocations: 7.984 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3879, allocations: 0 / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.388, allocations: 115.2 kB / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.388, allocations: 0 / 0.5645 GB, free: 1.031 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000294/0.3883, allocations: 35.88 kB / 0.5645 GB, free: 0.9961 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001876/0.3902, allocations: 0.4942 MB / 0.565 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002376/0.3904, allocations: 51.91 kB / 0.565 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3904, allocations: 0 / 0.565 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.24e-05/0.3905, allocations: 19.98 kB / 0.5651 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/0.3909, allocations: 19.98 kB / 0.5651 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005313/0.3914, allocations: 195.2 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.3918, allocations: 0.6924 MB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.3919, allocations: 19.42 kB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3919, allocations: 0 / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of Templates: time 0.004646/0.3965, allocations: 1.946 MB / 0.5679 GB, free: 13.7 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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: 8.108590859919786]