Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.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.001485/0.001485, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001335/0.001335, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 1.031/1.031, allocations: 177 MB / 204.8 MB, free: 5.582 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.2527/0.2527, allocations: 34.87 MB / 296.3 MB, free: 468 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 378.8 MB, free: 2.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.339e-05/1.456e-05, allocations: 2.312 kB / 378.8 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test12): time 0.00197/0.001985, allocations: 1.698 MB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.003137, allocations: 1.3 MB / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.221e-05/0.003179, allocations: 0 / 381.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.003365, allocations: 27.78 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002687/0.003634, allocations: 87.55 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.003833, allocations: 131.5 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.00396, allocations: 71.77 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.023e-05/0.004041, allocations: 15.98 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.978e-05/0.0041, allocations: 39.91 kB / 382.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.406e-05/0.004185, allocations: 23.91 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.0042, allocations: 8 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.004319, allocations: 99.75 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.004369, allocations: 15.97 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.004392, allocations: 11.94 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.004582, allocations: 147.5 kB / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004585, allocations: 0 / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.004586, allocations: 0 / 382.5 MB, free: 14.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.517e-06/0.004589, allocations: 0 / 382.5 MB, free: 14.35 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004094/0.004999, allocations: 439.9 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.005034, allocations: 8.031 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.604e-05/0.00508, allocations: 16.89 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/0.005224, allocations: 136.4 kB / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.005234, allocations: 384 / 383 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.005257, allocations: 8.375 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.005677, allocations: 108 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.005687, allocations: 192 / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.005696, allocations: 384 / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.005703, allocations: 384 / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.457e-05/0.005738, allocations: 23.86 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.006007, allocations: 279.8 kB / 383.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.851e-05/0.006076, allocations: 39.03 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/0.006098, allocations: 19.62 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.006117, allocations: 4 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.006138, allocations: 41.27 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.72e-07/0.006139, allocations: 0 / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003679/0.006507, allocations: 129.5 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.006544, allocations: 81.11 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.00665, allocations: 193.9 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.006661, allocations: 25.7 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.747e-05/0.006708, allocations: 146.8 kB / 384.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.006727, allocations: 19.86 kB / 384.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.006756, allocations: 27.36 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.006857, allocations: 0.4884 MB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.006876, allocations: 7.984 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/0.006912, allocations: 57.08 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.222e-05/0.006955, allocations: 31.73 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.006955, allocations: 0 / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.006e-05/0.007035, allocations: 81.55 kB / 384.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.007046, allocations: 4 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.00705, allocations: 0 / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.007061, allocations: 0 / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.007139, allocations: 19.98 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.007143, allocations: 0 / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.467e-05/0.007168, allocations: 4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.86e-06/0.007172, allocations: 0 / 384.9 MB, free: 11.7 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 (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 6.332e-05/0.007236, allocations: 168.5 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.188e-05/0.007258, allocations: 15.84 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.007375, allocations: 86.69 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.007377, allocations: 4 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/0.00738, allocations: 0 / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.007383, allocations: 0 / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002289/0.007612, allocations: 345.3 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.007614, allocations: 4 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.697e-05/0.007661, allocations: 15.98 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.007662, allocations: 0 / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.007669, allocations: 3.938 kB / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.00767, allocations: 0 / 385.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.007671, allocations: 4 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.00778, allocations: 219.8 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.806e-06/0.007789, allocations: 7.953 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.007803, allocations: 7.984 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.726e-05/0.00784, allocations: 4 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.007871, allocations: 3.984 kB / 385.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.078e-06/0.007875, allocations: 7.938 kB / 385.7 MB, free: 10.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.721e-05/0.007932, allocations: 149.4 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007932, allocations: 0 / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001782/0.00811, allocations: 39.86 kB / 385.9 MB, free: 10.55 MB / 362.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.0009403/0.009051, allocations: 488.9 kB / 386.4 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.764e-05/0.009148, allocations: 43.66 kB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.00915, allocations: 0 / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.864e-05/0.009178, allocations: 35.55 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.009368, allocations: 27.92 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.009691, allocations: 190.4 kB / 386.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.593e-05/0.009726, allocations: 63.34 kB / 386.7 MB, free: 9.809 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.868e-05/0.009765, allocations: 12.3 kB / 386.8 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.009802, allocations: 28.48 kB / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of SimCode: time 7.41e-07/0.009803, allocations: 0 / 386.8 MB, free: 9.77 MB / 362.7 MB Notification: Performance of Templates: time 0.003612/0.01341, allocations: 2.156 MB / 388.9 MB, free: 7.629 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.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.0907406001351774]