Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.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.0009291/0.0009291, 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.0009325/0.0009325, allocations: 170 kB / 24.82 MB, free: 9.254 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.9168/0.9168, allocations: 177 MB / 205.1 MB, free: 5.484 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.2935/0.2935, allocations: 34.86 MB / 296.6 MB, free: 0.4961 MB / 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.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 379.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.415e-05/2.593e-05, allocations: 3.156 kB / 379.2 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003062/0.003088, allocations: 1.655 MB / 380.9 MB, free: 136 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009703/0.004058, allocations: 0.5562 MB / 381.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.872e-05/0.004147, allocations: 0 / 381.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006713/0.004818, allocations: 451.1 kB / 381.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005357/0.005354, allocations: 295.1 kB / 382.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00044/0.005794, allocations: 171.5 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002554/0.006049, allocations: 171.6 kB / 382.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.006156, allocations: 19.83 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.006319, allocations: 119.7 kB / 382.7 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.00658, allocations: 247.6 kB / 382.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.006601, allocations: 4 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.128e-05/0.006682, allocations: 27.92 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.596e-05/0.006778, allocations: 79.72 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.006825, allocations: 43.67 kB / 383 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.007083, allocations: 195.2 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.007087, allocations: 0 / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.007088, allocations: 0 / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.007094, allocations: 0 / 383.2 MB, free: 13.79 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000706/0.0078, allocations: 0.697 MB / 383.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.007842, allocations: 8.031 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.007904, allocations: 44.66 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.008135, allocations: 244.9 kB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.008146, allocations: 4.375 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.844e-06/0.008154, allocations: 384 / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.008276, allocations: 58.94 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.008284, allocations: 192 / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.008292, allocations: 8.312 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.008298, allocations: 384 / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.487e-05/0.008323, allocations: 11.94 kB / 384.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004073/0.008731, allocations: 348.2 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.008797, allocations: 31.06 kB / 384.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.306e-05/0.00882, allocations: 15.77 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.008845, allocations: 7.938 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.008869, allocations: 33.39 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.00887, allocations: 0 / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001911/0.009061, allocations: 85.34 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.00909, allocations: 55.41 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007826/0.009872, allocations: 0.604 MB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.009886, allocations: 29.7 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.01009, allocations: 298.7 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.01011, allocations: 11.91 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.01015, allocations: 23.38 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.01035, allocations: 0.5586 MB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.01037, allocations: 0 / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.406e-05/0.01038, allocations: 7.938 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.818e-05/0.01042, allocations: 19.67 kB / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01042, allocations: 0 / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001077/0.01053, allocations: 81.7 kB / 386.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.01054, allocations: 8 kB / 386.5 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.01055, allocations: 8.031 kB / 386.5 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.01056, allocations: 7.922 kB / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.346e-05/0.01064, allocations: 8 kB / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-06/0.01064, allocations: 0 / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.957e-05/0.01068, allocations: 0 / 386.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.01069, allocations: 7.938 kB / 386.5 MB, free: 10.28 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 (3): * Single equations (assignments): 3 * 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 9.451e-05/0.01078, allocations: 156.6 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-05/0.01084, allocations: 43.72 kB / 386.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.011, allocations: 77.14 kB / 386.8 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.011, allocations: 11.94 kB / 386.8 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-06/0.01101, allocations: 0 / 386.8 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.01101, allocations: 0 / 386.8 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.01126, allocations: 201.1 kB / 387 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.01126, allocations: 0 / 387 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.911e-05/0.01131, allocations: 8 kB / 387 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01131, allocations: 0 / 387 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.01132, allocations: 3.938 kB / 387 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01132, allocations: 0 / 387 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.01132, allocations: 3.984 kB / 387 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.01151, allocations: 239.5 kB / 387.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.01155, allocations: 39.66 kB / 387.3 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.01157, allocations: 0 / 387.3 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.941e-05/0.01165, allocations: 4 kB / 387.3 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.01167, allocations: 3.938 kB / 387.3 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.01167, allocations: 3.984 kB / 387.3 MB, free: 9.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003286/0.012, allocations: 394.7 kB / 387.7 MB, free: 9.047 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.012, allocations: 0 / 387.7 MB, free: 9.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003042/0.01231, allocations: 19.98 kB / 387.7 MB, free: 9.027 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 (3): * Single equations (assignments): 3 * 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.0009852/0.01329, allocations: 324.8 kB / 388 MB, free: 8.801 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.589e-05/0.01339, allocations: 23.61 kB / 388.1 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.01339, allocations: 0 / 388.1 MB, free: 8.773 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.019e-05/0.01341, allocations: 19.67 kB / 388.1 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.01379, allocations: 26.27 kB / 388.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008758/0.01467, allocations: 0.5728 MB / 388.7 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.01478, allocations: 119.2 kB / 388.8 MB, free: 7.984 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.96e-05/0.01483, allocations: 4 kB / 388.8 MB, free: 7.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.01491, allocations: 86.19 kB / 388.9 MB, free: 7.895 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01491, allocations: 0 / 388.9 MB, free: 7.895 MB / 362.7 MB Notification: Performance of Templates: time 0.005284/0.0202, allocations: 1.292 MB / 390.2 MB, free: 6.613 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.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.951783511787653]