Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.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.0009033/0.0009033, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 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.00099/0.00099, allocations: 170.2 kB / 24.91 MB, free: 9.117 MB / 18.57 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 0.9314/0.9314, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2636/0.2636, allocations: 34.26 MB / 296.1 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] 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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test10,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.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.888e-06/1.148e-05, allocations: 3.516 kB / 325.3 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test10): time 0.001826/0.001837, allocations: 1.701 MB / 327 MB, free: 5.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00111/0.002947, allocations: 1.297 MB / 328.3 MB, free: 4.625 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.973e-05/0.002987, allocations: 3.938 kB / 328.3 MB, free: 4.621 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.003127, allocations: 19.8 kB / 328.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002156/0.003342, allocations: 87.55 kB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.003524, allocations: 135.6 kB / 328.5 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.003628, allocations: 67.78 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.113e-05/0.003689, allocations: 15.97 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.003746, allocations: 43.84 kB / 328.6 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.003822, allocations: 31.89 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.003833, allocations: 4 kB / 328.7 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.00394, allocations: 95.81 kB / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.009e-05/0.004, allocations: 11.94 kB / 328.8 MB, free: 4.117 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.004018, allocations: 16.48 kB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001678/0.004186, allocations: 147.5 kB / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004188, allocations: 0 / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004188, allocations: 0 / 328.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.275e-06/0.00419, allocations: 0 / 328.9 MB, free: 3.957 MB / 298.7 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.0002779/0.004468, allocations: 305.7 kB / 329.2 MB, free: 3.637 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.485e-05/0.004493, allocations: 8.031 kB / 329.2 MB, free: 3.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.004517, allocations: 8.922 kB / 329.2 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.004628, allocations: 134.6 kB / 329.4 MB, free: 3.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.004636, allocations: 12.31 kB / 329.4 MB, free: 3.453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.004651, allocations: 4.375 kB / 329.4 MB, free: 3.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.004751, allocations: 98.36 kB / 329.5 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.00476, allocations: 12.12 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.004767, allocations: 4.125 kB / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.004771, allocations: 0 / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.31e-05/0.004794, allocations: 15.91 kB / 329.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.004967, allocations: 160.3 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.754e-05/0.005014, allocations: 30.64 kB / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.374e-05/0.005028, allocations: 8.859 kB / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.219e-05/0.00504, allocations: 4 kB / 329.7 MB, free: 3.074 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.005057, allocations: 38.59 kB / 329.8 MB, free: 3.027 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.005058, allocations: 3.938 kB / 329.8 MB, free: 3.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002515/0.00531, allocations: 109.5 kB / 329.9 MB, free: 2.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.005344, allocations: 81.11 kB / 329.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.055e-05/0.005425, allocations: 134.6 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.005435, allocations: 29.7 kB / 330.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.005467, allocations: 92.12 kB / 330.2 MB, free: 2.539 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.005486, allocations: 23.78 kB / 330.2 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.005513, allocations: 25.72 kB / 330.2 MB, free: 2.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.873e-05/0.005592, allocations: 318.8 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.005606, allocations: 8 kB / 330.6 MB, free: 2.156 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.284e-05/0.005639, allocations: 43.41 kB / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.005672, allocations: 28.83 kB / 330.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.005673, allocations: 0 / 330.6 MB, free: 2.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.209e-05/0.005735, allocations: 57.56 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.005747, allocations: 10.48 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.00575, allocations: 0 / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.005761, allocations: 0 / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.18e-05/0.005823, allocations: 12 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.005826, allocations: 12.33 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.005854, allocations: 11.94 kB / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.00586, allocations: 0 / 330.7 MB, free: 1.965 MB / 298.7 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 5.63e-05/0.005916, allocations: 112.7 kB / 330.8 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.005936, allocations: 15.92 kB / 330.9 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.304e-05/0.006029, allocations: 74.36 kB / 330.9 MB, free: 1.75 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.006032, allocations: 7.938 kB / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.006034, allocations: 0 / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.006037, allocations: 0 / 330.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.006242, allocations: 230.7 kB / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006243, allocations: 0 / 331.2 MB, free: 1.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.006284, allocations: 19.92 kB / 331.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.006285, allocations: 0 / 331.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.00629, allocations: 0 / 331.2 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.006294, allocations: 4 kB / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.006295, allocations: 0 / 331.2 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.286e-05/0.006378, allocations: 147.5 kB / 331.3 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.006389, allocations: 11.95 kB / 331.3 MB, free: 1.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.0064, allocations: 4 kB / 331.3 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.699e-05/0.006437, allocations: 7.984 kB / 331.4 MB, free: 1.285 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.006459, allocations: 8 kB / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.006463, allocations: 0 / 331.4 MB, free: 1.277 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.843e-05/0.006491, allocations: 36.81 kB / 331.4 MB, free: 1.238 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006491, allocations: 0 / 331.4 MB, free: 1.238 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.006646, allocations: 43.81 kB / 331.4 MB, free: 1.195 MB / 298.7 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.001158/0.007804, allocations: 0.6283 MB / 332.1 MB, free: 0.875 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.881e-05/0.007872, allocations: 28.84 kB / 332.1 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.007875, allocations: 0 / 332.1 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.264e-05/0.007897, allocations: 24.78 kB / 332.1 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001295/0.008027, allocations: 27.86 kB / 332.2 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002528/0.00828, allocations: 196 kB / 332.3 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.203e-05/0.008312, allocations: 59.34 kB / 332.4 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.398e-05/0.008346, allocations: 12.3 kB / 332.4 MB, free: 492 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.008406, allocations: 71.36 kB / 332.5 MB, free: 420 kB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008407, allocations: 0 / 332.5 MB, free: 420 kB / 298.7 MB Notification: Performance of Templates: time 0.003181/0.01159, allocations: 2.119 MB / 334.6 MB, free: 14.3 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test10/Test10.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8006969643756747]