Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001457/0.001457, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001544/0.001544, allocations: 214.4 kB / 23.74 MB, free: 4.656 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.565/1.565, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2537/0.2537, allocations: 46.93 MB / 360.8 MB, free: 4.254 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.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002911/0.002911, allocations: 71.89 kB / 0.4967 GB, free: 7.363 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4583, allocations: 66.03 MB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003548/0.4618, allocations: 1.632 MB / 0.5627 GB, free: 2.781 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.4629, allocations: 0.566 MB / 0.5633 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.737e-05/0.463, allocations: 11.94 kB / 0.5633 GB, free: 2.199 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003289/0.4633, allocations: 103.7 kB / 0.5634 GB, free: 2.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003209/0.4637, allocations: 119.6 kB / 0.5635 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.464, allocations: 107.7 kB / 0.5636 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.4642, allocations: 91.73 kB / 0.5637 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.4643, allocations: 22.66 kB / 0.5637 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.4644, allocations: 47.83 kB / 0.5638 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.4645, allocations: 71.8 kB / 0.5638 GB, free: 1.648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.4645, allocations: 3.938 kB / 0.5638 GB, free: 1.645 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.4646, allocations: 47.98 kB / 0.5639 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.4647, allocations: 23.91 kB / 0.5639 GB, free: 1.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.741e-05/0.4647, allocations: 39.67 kB / 0.564 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.465, allocations: 111.2 kB / 0.5641 GB, free: 1.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.465, allocations: 11.88 kB / 0.5641 GB, free: 1.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.465, allocations: 0 / 0.5641 GB, free: 1.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.293e-06/0.465, allocations: 0 / 0.5641 GB, free: 1.418 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005663/0.4655, allocations: 357.5 kB / 0.5644 GB, free: 1.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4656, allocations: 8.031 kB / 0.5644 GB, free: 1.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.399e-05/0.4656, allocations: 16.88 kB / 0.5644 GB, free: 1.016 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.4658, allocations: 147.1 kB / 0.5646 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-06/0.4659, allocations: 4.375 kB / 0.5646 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.4659, allocations: 384 / 0.5646 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.466, allocations: 57.8 kB / 0.5646 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4661, allocations: 7.953 kB / 0.5646 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.4661, allocations: 7.938 kB / 0.5647 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4661, allocations: 0 / 0.5647 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.4662, allocations: 27.97 kB / 0.5647 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004574/0.4666, allocations: 279.9 kB / 0.5649 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.4667, allocations: 46.5 kB / 0.565 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/0.4668, allocations: 28.92 kB / 0.565 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.4668, allocations: 4 kB / 0.565 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.4669, allocations: 34.5 kB / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4669, allocations: 0 / 0.5651 GB, free: 292 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000935/0.4678, allocations: 245.1 kB / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.4678, allocations: 59.34 kB / 0.5653 GB, free: 15.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.4681, allocations: 254.9 kB / 0.5656 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.4682, allocations: 25.7 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.744e-05/0.4682, allocations: 112.1 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.4683, allocations: 27.73 kB / 0.5657 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.084e-05/0.4683, allocations: 21.72 kB / 0.5658 GB, free: 15.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.4685, allocations: 330.8 kB / 0.5661 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.615e-05/0.4685, allocations: 27.98 kB / 0.5661 GB, free: 15.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.574e-05/0.4686, allocations: 31.97 kB / 0.5661 GB, free: 15.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.4688, allocations: 81.06 kB / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4688, allocations: 0 / 0.5662 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002299/0.469, allocations: 113.5 kB / 0.5663 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.469, allocations: 11.98 kB / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.469, allocations: 0 / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4691, allocations: 0 / 0.5663 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.4692, allocations: 16 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4692, allocations: 3.984 kB / 0.5664 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.982e-05/0.4692, allocations: 11.94 kB / 0.5664 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.4692, allocations: 0 / 0.5664 GB, free: 14.88 MB / 414.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 (8): * Single equations (assignments): 8 * 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.0001313/0.4694, allocations: 137.8 kB / 0.5665 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.4694, allocations: 11.91 kB / 0.5665 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.4697, allocations: 139 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4697, allocations: 0 / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4697, allocations: 0 / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4697, allocations: 3.938 kB / 0.5666 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005781/0.4703, allocations: 398.3 kB / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4703, allocations: 4.031 kB / 0.567 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/0.4704, allocations: 19.92 kB / 0.567 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.4704, allocations: 7.938 kB / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.4704, allocations: 0 / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4704, allocations: 0 / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4704, allocations: 0 / 0.5671 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.4707, allocations: 220.3 kB / 0.5673 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.4707, allocations: 15.89 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.4707, allocations: 0 / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.4708, allocations: 7.938 kB / 0.5673 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.4708, allocations: 15.91 kB / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.4709, allocations: 0 / 0.5673 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001757/0.471, allocations: 191.2 kB / 0.5675 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.471, allocations: 3.938 kB / 0.5675 GB, free: 13.63 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.4713, allocations: 27.92 kB / 0.5675 GB, free: 13.6 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001748/0.473, allocations: 454 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002715/0.4733, allocations: 75.92 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4733, allocations: 3.938 kB / 0.568 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.995e-05/0.4734, allocations: 39.97 kB / 0.5681 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.4738, allocations: 33.25 kB / 0.5681 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006114/0.4744, allocations: 299.2 kB / 0.5684 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.4748, allocations: 0.7197 MB / 0.5691 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.921e-05/0.4749, allocations: 20.64 kB / 0.5691 GB, free: 12.1 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.4749, allocations: 15.38 kB / 0.5691 GB, free: 12.09 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4749, allocations: 0 / 0.5691 GB, free: 12.09 MB / 414.1 MB Notification: Performance of Templates: time 0.004983/0.4799, allocations: 1.456 MB / 0.5705 GB, free: 10.64 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.521363204112276]