Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001484/0.001484, allocations: 115.6 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.001814/0.001814, allocations: 213.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.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2954/0.2954, allocations: 46.92 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003087/0.003087, allocations: 67.89 kB / 0.4967 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4536, allocations: 66.02 MB / 0.5611 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003526/0.4571, allocations: 1.632 MB / 0.5627 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.4583, allocations: 0.5542 MB / 0.5633 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.306e-05/0.4584, allocations: 0 / 0.5633 GB, free: 2.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.4586, allocations: 23.84 kB / 0.5633 GB, free: 2.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003345/0.459, allocations: 87.62 kB / 0.5634 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.4593, allocations: 103.7 kB / 0.5635 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001742/0.4595, allocations: 63.84 kB / 0.5635 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.4596, allocations: 15.92 kB / 0.5635 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.514e-05/0.4596, allocations: 23.86 kB / 0.5636 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.447e-05/0.4597, allocations: 23.86 kB / 0.5636 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.4597, allocations: 4 kB / 0.5636 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.4598, allocations: 39.98 kB / 0.5636 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.4599, allocations: 11.92 kB / 0.5636 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.4599, allocations: 27.8 kB / 0.5637 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.4601, allocations: 86.05 kB / 0.5638 GB, free: 1.707 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4601, allocations: 0 / 0.5638 GB, free: 1.707 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4601, allocations: 0 / 0.5638 GB, free: 1.707 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.4601, allocations: 0 / 0.5638 GB, free: 1.707 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.0005677/0.4607, allocations: 317.8 kB / 0.5641 GB, free: 1.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.4608, allocations: 12.02 kB / 0.5641 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.4608, allocations: 8.891 kB / 0.5641 GB, free: 1.348 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.461, allocations: 142.4 kB / 0.5642 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.461, allocations: 384 / 0.5642 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.4611, allocations: 384 / 0.5642 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.4612, allocations: 53.8 kB / 0.5643 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4612, allocations: 0 / 0.5643 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.4612, allocations: 4 kB / 0.5643 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.4613, allocations: 0 / 0.5643 GB, free: 1.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.786e-05/0.4613, allocations: 27.92 kB / 0.5643 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.4618, allocations: 255.9 kB / 0.5645 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.4621, allocations: 42.55 kB / 0.5646 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.646e-05/0.4621, allocations: 20.84 kB / 0.5646 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.4622, allocations: 4.078 kB / 0.5646 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.4622, allocations: 34.5 kB / 0.5646 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.4622, allocations: 4 kB / 0.5646 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007409/0.463, allocations: 153.4 kB / 0.5648 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.463, allocations: 55.34 kB / 0.5648 GB, free: 464 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.4632, allocations: 163.1 kB / 0.565 GB, free: 292 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.4632, allocations: 29.7 kB / 0.565 GB, free: 256 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.4633, allocations: 92.14 kB / 0.5651 GB, free: 160 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.4633, allocations: 23.84 kB / 0.5651 GB, free: 136 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.4634, allocations: 21.66 kB / 0.5652 GB, free: 108 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.4636, allocations: 322.8 kB / 0.5655 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.615e-05/0.4636, allocations: 19.98 kB / 0.5655 GB, free: 15.76 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.428e-05/0.4637, allocations: 20.17 kB / 0.5655 GB, free: 15.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.4638, allocations: 56.77 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4638, allocations: 8 kB / 0.5656 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002006/0.464, allocations: 85.61 kB / 0.5656 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4641, allocations: 7.938 kB / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.4641, allocations: 0 / 0.5657 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4641, allocations: 4 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.882e-05/0.4642, allocations: 11.98 kB / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.4642, allocations: 0 / 0.5657 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.4642, allocations: 7.938 kB / 0.5657 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.4642, allocations: 4 kB / 0.5657 GB, free: 15.55 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 (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 0.0001149/0.4643, allocations: 125.8 kB / 0.5658 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.4644, allocations: 7.953 kB / 0.5658 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.4647, allocations: 98.05 kB / 0.5659 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4647, allocations: 3.938 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.4647, allocations: 0 / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.4647, allocations: 3.938 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.4652, allocations: 333.6 kB / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4652, allocations: 0 / 0.5662 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.4652, allocations: 15.98 kB / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4652, allocations: 0 / 0.5662 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4652, allocations: 7.938 kB / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4652, allocations: 192 / 0.5662 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.4652, allocations: 4 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.4655, allocations: 187.4 kB / 0.5664 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.66e-05/0.4655, allocations: 3.953 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.4655, allocations: 3.938 kB / 0.5664 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.4656, allocations: 8 kB / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.4657, allocations: 7.984 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.4657, allocations: 0 / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000141/0.4658, allocations: 125.7 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4658, allocations: 4 kB / 0.5666 GB, free: 14.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002564/0.4661, allocations: 15.95 kB / 0.5666 GB, free: 14.52 MB / 414.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.001627/0.4677, allocations: 417.1 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.4679, allocations: 51.89 kB / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4679, allocations: 0 / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.787e-05/0.468, allocations: 27.98 kB / 0.5671 GB, free: 14.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.4684, allocations: 15.98 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.4689, allocations: 202.1 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.4693, allocations: 0.6924 MB / 0.568 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.991e-05/0.4693, allocations: 19.75 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.4694, allocations: 15.44 kB / 0.568 GB, free: 13.2 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4694, allocations: 0 / 0.568 GB, free: 13.2 MB / 414.1 MB Notification: Performance of Templates: time 0.004299/0.4737, allocations: 1.168 MB / 0.5691 GB, free: 12.04 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.632228587055579]