Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.001646/0.001646, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.00198/0.00198, allocations: 213.4 kB / 23.74 MB, free: 4.688 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.646/1.646, 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.2555/0.2555, allocations: 46.92 MB / 360.8 MB, free: 4.273 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.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 71.88 kB / 0.4967 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4359/0.4384, allocations: 66.02 MB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003746/0.4421, allocations: 1.68 MB / 0.5628 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.4434, allocations: 0.6049 MB / 0.5634 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.28e-05/0.4435, allocations: 0 / 0.5634 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000675/0.4441, allocations: 455.1 kB / 0.5638 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004957/0.4446, allocations: 291.3 kB / 0.5641 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004748/0.4451, allocations: 178.9 kB / 0.5643 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.4454, allocations: 179.6 kB / 0.5644 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.4455, allocations: 19.91 kB / 0.5644 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.4457, allocations: 111.7 kB / 0.5646 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003206/0.446, allocations: 255.5 kB / 0.5648 GB, free: 0.668 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.446, allocations: 4 kB / 0.5648 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.431e-05/0.4461, allocations: 31.98 kB / 0.5648 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.4462, allocations: 91.62 kB / 0.5649 GB, free: 0.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.4463, allocations: 103 kB / 0.565 GB, free: 452 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003772/0.4467, allocations: 269 kB / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4467, allocations: 0 / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4467, allocations: 0 / 0.5653 GB, free: 188 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.4467, allocations: 0 / 0.5653 GB, free: 188 kB / 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.0008716/0.4476, allocations: 0.5913 MB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4476, allocations: 8.031 kB / 0.5659 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.849e-05/0.4477, allocations: 44.66 kB / 0.5659 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.448, allocations: 250.7 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.4481, allocations: 4.375 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.998e-05/0.4481, allocations: 4.375 kB / 0.5661 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.4483, allocations: 63.86 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.4483, allocations: 3.984 kB / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.4483, allocations: 0 / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.4483, allocations: 0 / 0.5662 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.4485, allocations: 43.95 kB / 0.5663 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.4491, allocations: 375.7 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.4492, allocations: 50.55 kB / 0.5667 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.236e-05/0.4493, allocations: 24.94 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.4493, allocations: 0 / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.4493, allocations: 38.55 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.4494, allocations: 0 / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009267/0.4503, allocations: 324.5 kB / 0.567 GB, free: 14.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.173e-05/0.4503, allocations: 55.41 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009092/0.4512, allocations: 0.8653 MB / 0.5679 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.4513, allocations: 25.7 kB / 0.568 GB, free: 13.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.4514, allocations: 216 kB / 0.5682 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.4515, allocations: 31.8 kB / 0.5682 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.4515, allocations: 21.72 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.4517, allocations: 358.8 kB / 0.5686 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.4518, allocations: 43.97 kB / 0.5686 GB, free: 12.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.4519, allocations: 39.91 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002414/0.4522, allocations: 92.78 kB / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.4522, allocations: 0 / 0.5687 GB, free: 12.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003389/0.4525, allocations: 157.3 kB / 0.5689 GB, free: 12.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.4525, allocations: 4 kB / 0.5689 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4526, allocations: 4 kB / 0.5689 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4526, allocations: 0 / 0.5689 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.4527, allocations: 19.97 kB / 0.5689 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.4527, allocations: 11.94 kB / 0.5689 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/0.4528, allocations: 7.984 kB / 0.5689 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.4528, allocations: 4 kB / 0.5689 GB, free: 12.25 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 (7): * Single equations (assignments): 7 * 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.0002143/0.453, allocations: 213.8 kB / 0.5691 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.874e-05/0.4531, allocations: 51.61 kB / 0.5692 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004149/0.4535, allocations: 181.7 kB / 0.5693 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4535, allocations: 0 / 0.5693 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4535, allocations: 4 kB / 0.5693 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4535, allocations: 3.938 kB / 0.5694 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007186/0.4542, allocations: 497.4 kB / 0.5698 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.4542, allocations: 4 kB / 0.5698 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.68e-05/0.4543, allocations: 15.98 kB / 0.5698 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4543, allocations: 0 / 0.5698 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.4543, allocations: 4 kB / 0.5698 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4543, allocations: 0 / 0.5698 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4543, allocations: 0 / 0.5698 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.4547, allocations: 267.1 kB / 0.5701 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.814e-05/0.4548, allocations: 35.7 kB / 0.5701 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.4548, allocations: 0 / 0.5701 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.4549, allocations: 12 kB / 0.5701 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.08e-05/0.4549, allocations: 3.984 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/0.4549, allocations: 8 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006593/0.4556, allocations: 0.6511 MB / 0.5708 GB, free: 10.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4556, allocations: 0 / 0.5708 GB, free: 10.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.4559, allocations: 28 kB / 0.5708 GB, free: 10.21 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 (7): * Single equations (assignments): 7 * 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.001549/0.4574, allocations: 413.9 kB / 0.5712 GB, free: 9.961 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.4577, allocations: 99.84 kB / 0.5713 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4577, allocations: 0 / 0.5713 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.4579, allocations: 39.97 kB / 0.5714 GB, free: 9.824 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.4583, allocations: 30.23 kB / 0.5714 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.4595, allocations: 0.8339 MB / 0.5722 GB, free: 8.934 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.4601, allocations: 0.8415 MB / 0.573 GB, free: 8.066 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.348e-05/0.4601, allocations: 24.94 kB / 0.573 GB, free: 8.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.4602, allocations: 15.44 kB / 0.5731 GB, free: 8.023 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4602, allocations: 0 / 0.5731 GB, free: 8.023 MB / 414.1 MB Notification: Performance of Templates: time 0.005853/0.466, allocations: 1.663 MB / 0.5747 GB, free: 6.367 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test6.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.732697921106592]