Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001117, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004415/0.004415, allocations: 171.9 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9876/0.9876, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2786/0.2786, allocations: 34.87 MB / 296.6 MB, free: 424 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 379.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.38e-05, allocations: 4.703 kB / 379.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.002297/0.002321, allocations: 1.716 MB / 381 MB, free: 60 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.003023, allocations: 0.5407 MB / 381.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.003076, allocations: 4 kB / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.003305, allocations: 63.72 kB / 381.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002525/0.003557, allocations: 119.4 kB / 381.7 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.003793, allocations: 131.6 kB / 381.8 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.003924, allocations: 83.77 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.705e-05/0.004011, allocations: 24.14 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.004089, allocations: 39.89 kB / 382 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.616e-05/0.004175, allocations: 55.88 kB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.004187, allocations: 4 kB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.028e-05/0.004267, allocations: 51.92 kB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.004326, allocations: 23.91 kB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.004347, allocations: 19.92 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001444/0.004491, allocations: 103.5 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.004494, allocations: 0 / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.004494, allocations: 0 / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.004498, allocations: 0 / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003589/0.004857, allocations: 447.9 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.004891, allocations: 16.03 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.004923, allocations: 12.84 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.005041, allocations: 149.1 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.005051, allocations: 4.375 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.005069, allocations: 8.312 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.998e-05/0.005169, allocations: 66.92 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.005179, allocations: 4.141 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-06/0.005184, allocations: 384 / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.005191, allocations: 4.375 kB / 382.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.464e-05/0.005216, allocations: 7.938 kB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.005448, allocations: 280.3 kB / 383.2 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.005577, allocations: 43.05 kB / 383.2 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.017e-05/0.005597, allocations: 15.69 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.005619, allocations: 4.125 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.005644, allocations: 45.41 kB / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.173e-06/0.005646, allocations: 0 / 383.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005158/0.006161, allocations: 233.2 kB / 383.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.252e-05/0.006184, allocations: 55.41 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.006296, allocations: 234.3 kB / 383.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.006306, allocations: 25.7 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.00636, allocations: 162.8 kB / 384 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.006388, allocations: 35.69 kB / 384 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.549e-05/0.006423, allocations: 31.36 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.006538, allocations: 0.4962 MB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.467e-05/0.006562, allocations: 15.98 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.024e-05/0.006583, allocations: 15.92 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.693e-05/0.00663, allocations: 39.67 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006631, allocations: 7.875 kB / 384.6 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 9.207e-05/0.006723, allocations: 89.86 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.006735, allocations: 4 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.006741, allocations: 3.984 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.006752, allocations: 4 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.412e-05/0.006817, allocations: 23.92 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.006819, allocations: 0 / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.459e-05/0.006844, allocations: 8 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.006852, allocations: 4 kB / 384.8 MB, free: 12.04 MB / 362.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 (11): * Single equations (assignments): 11 * 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 6.981e-05/0.006921, allocations: 164.5 kB / 384.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.006951, allocations: 15.91 kB / 384.9 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.007085, allocations: 111 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007087, allocations: 0 / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.00709, allocations: 4.562 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.007093, allocations: 0 / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003024/0.007395, allocations: 381.2 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.007396, allocations: 0 / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.007451, allocations: 31.98 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.007454, allocations: 4 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.007461, allocations: 8 kB / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.007462, allocations: 0 / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.007464, allocations: 0 / 385.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.007623, allocations: 263 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.087e-05/0.007634, allocations: 11.91 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.04e-05/0.007644, allocations: 0 / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.164e-05/0.007686, allocations: 4 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.007715, allocations: 15.97 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.007721, allocations: 4 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.016e-05/0.007781, allocations: 175.1 kB / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007781, allocations: 0 / 385.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001701/0.007951, allocations: 20 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0008722/0.008824, allocations: 432.9 kB / 386.4 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.008946, allocations: 51.59 kB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.008948, allocations: 0 / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/0.008985, allocations: 31.61 kB / 386.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.009202, allocations: 32.05 kB / 386.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.009613, allocations: 262.7 kB / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.995e-05/0.009653, allocations: 71.33 kB / 386.8 MB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.039e-05/0.009694, allocations: 16.48 kB / 386.8 MB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.817e-05/0.009752, allocations: 82.2 kB / 386.9 MB, free: 9.871 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.009753, allocations: 0 / 386.9 MB, free: 9.871 MB / 362.7 MB Notification: Performance of Templates: time 0.003565/0.01332, allocations: 1.75 MB / 388.7 MB, free: 8.137 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.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: 3.0248957481235266]