Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.001368/0.001368, allocations: 108.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.001533/0.001533, allocations: 213.9 kB / 24.5 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.525/1.525, allocations: 230.6 MB / 258.2 MB, free: 8.031 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.2371/0.2371, allocations: 46.93 MB / 361.6 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.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 63.91 kB / 0.4974 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.454, allocations: 66.04 MB / 0.5619 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.00367/0.4576, allocations: 1.675 MB / 0.5635 GB, free: 2.707 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.4598, allocations: 1.279 MB / 0.5648 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.456e-05/0.4599, allocations: 4 kB / 0.5648 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.4602, allocations: 19.84 kB / 0.5648 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004185/0.4606, allocations: 79.62 kB / 0.5649 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005027/0.4611, allocations: 139 kB / 0.565 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.4614, allocations: 75.77 kB / 0.5651 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.4615, allocations: 15.92 kB / 0.5651 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.4616, allocations: 31.86 kB / 0.5651 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.4619, allocations: 39.83 kB / 0.5652 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.4619, allocations: 8 kB / 0.5652 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.4622, allocations: 103.9 kB / 0.5653 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.137e-05/0.4623, allocations: 11.94 kB / 0.5653 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.4623, allocations: 23.86 kB / 0.5653 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.4627, allocations: 149.8 kB / 0.5654 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.4627, allocations: 8 kB / 0.5655 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4627, allocations: 0 / 0.5655 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.4627, allocations: 0 / 0.5655 GB, free: 0.7344 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.0007218/0.4634, allocations: 337.6 kB / 0.5658 GB, free: 384 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.4635, allocations: 8.031 kB / 0.5658 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.372e-05/0.4636, allocations: 8.891 kB / 0.5658 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.4638, allocations: 138.4 kB / 0.5659 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.4638, allocations: 384 / 0.5659 GB, free: 204 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.527e-05/0.4639, allocations: 8.375 kB / 0.5659 GB, free: 196 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.4641, allocations: 79.5 kB / 0.566 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.4641, allocations: 0 / 0.566 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.4641, allocations: 3.938 kB / 0.566 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.4642, allocations: 4 kB / 0.566 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.4643, allocations: 31.97 kB / 0.566 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/0.4648, allocations: 267.8 kB / 0.5663 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.4649, allocations: 38.56 kB / 0.5663 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.048e-05/0.465, allocations: 28.88 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.465, allocations: 0 / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.4651, allocations: 30.56 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4651, allocations: 8 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008607/0.4659, allocations: 217.3 kB / 0.5666 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.466, allocations: 77.11 kB / 0.5667 GB, free: 15.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.4662, allocations: 148.4 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.4662, allocations: 29.7 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.606e-05/0.4663, allocations: 96.12 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.4663, allocations: 27.75 kB / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.4664, allocations: 17.72 kB / 0.567 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4666, allocations: 322.8 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.4667, allocations: 31.97 kB / 0.5673 GB, free: 14.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.4668, allocations: 49.69 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.467, allocations: 72.8 kB / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.467, allocations: 0 / 0.5674 GB, free: 14.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003062/0.4673, allocations: 117.8 kB / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.4674, allocations: 4 kB / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.4674, allocations: 8.016 kB / 0.5676 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.4674, allocations: 0 / 0.5676 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.4675, allocations: 19.98 kB / 0.5676 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/0.4675, allocations: 7.984 kB / 0.5676 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.876e-05/0.4676, allocations: 11.92 kB / 0.5676 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.4676, allocations: 4 kB / 0.5676 GB, free: 14.32 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.0001217/0.4677, allocations: 117.8 kB / 0.5677 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.4678, allocations: 8.234 kB / 0.5677 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003628/0.4681, allocations: 130.2 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.4681, allocations: 3.984 kB / 0.5679 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.4681, allocations: 4 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.4682, allocations: 3.938 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005642/0.4687, allocations: 365.5 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4687, allocations: 0 / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.4688, allocations: 23.98 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.4688, allocations: 0 / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.4688, allocations: 3.938 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4688, allocations: 0 / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.4688, allocations: 0 / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.4692, allocations: 211.4 kB / 0.5684 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.609e-05/0.4693, allocations: 7.953 kB / 0.5685 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.4693, allocations: 3.938 kB / 0.5685 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.4694, allocations: 15.98 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.051e-05/0.4694, allocations: 3.938 kB / 0.5685 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.4695, allocations: 11.98 kB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.4696, allocations: 107.3 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4696, allocations: 0 / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003693/0.47, allocations: 43.86 kB / 0.5686 GB, free: 13.19 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.002109/0.4721, allocations: 0.4917 MB / 0.5691 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003496/0.4724, allocations: 75.94 kB / 0.5692 GB, free: 12.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.4724, allocations: 4 kB / 0.5692 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.4725, allocations: 43.91 kB / 0.5692 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004381/0.473, allocations: 14.66 kB / 0.5692 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006664/0.4736, allocations: 227.5 kB / 0.5695 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.474, allocations: 0.7002 MB / 0.5701 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.578e-05/0.4741, allocations: 15.44 kB / 0.5702 GB, free: 11.75 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4741, allocations: 3.938 kB / 0.5702 GB, free: 11.75 MB / 414.1 MB Notification: Performance of Templates: time 0.004819/0.4789, allocations: 2.102 MB / 0.5722 GB, free: 9.648 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.248738139867783]