Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.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.0009482/0.0009482, allocations: 91.5 kB / 21.2 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.001165/0.001165, allocations: 160.5 kB / 24.55 MB, free: 20 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 0.9994/0.9994, 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.268/0.268, allocations: 34.86 MB / 296.3 MB, free: 0.5703 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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 4 kB / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.939e-05, allocations: 4.984 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002647/0.002676, allocations: 1.685 MB / 380.5 MB, free: 400 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009143/0.00359, allocations: 0.5719 MB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.003653, allocations: 0 / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005637/0.004217, allocations: 459 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000464/0.004681, allocations: 295.2 kB / 381.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.005082, allocations: 175.4 kB / 382 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.005331, allocations: 175.6 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.005425, allocations: 16 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.00556, allocations: 123.8 kB / 382.3 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.005785, allocations: 235.6 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.005804, allocations: 4 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.186e-05/0.005896, allocations: 39.92 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.406e-05/0.00599, allocations: 87.7 kB / 382.6 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.006035, allocations: 39.62 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002642/0.006299, allocations: 199.2 kB / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.006302, allocations: 4 kB / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.006303, allocations: 0 / 382.9 MB, free: 14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.006308, allocations: 0 / 382.9 MB, free: 14 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.0006301/0.006938, allocations: 0.6931 MB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.006974, allocations: 8.031 kB / 383.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.928e-05/0.007044, allocations: 48.64 kB / 383.6 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.007268, allocations: 252.8 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.007281, allocations: 12.31 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.007302, allocations: 4.375 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.00743, allocations: 62.95 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.00744, allocations: 192 / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.007449, allocations: 384 / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.007457, allocations: 384 / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.806e-05/0.007495, allocations: 15.92 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004717/0.007967, allocations: 427.6 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.008144, allocations: 43.05 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.583e-05/0.00817, allocations: 11.69 kB / 384.4 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.008187, allocations: 4 kB / 384.4 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.008212, allocations: 41.33 kB / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.333e-06/0.008214, allocations: 0 / 384.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004226/0.008636, allocations: 192.7 kB / 384.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.008668, allocations: 55.41 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000508/0.009176, allocations: 0.6238 MB / 385.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.00919, allocations: 33.64 kB / 385.4 MB, free: 11.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.009367, allocations: 282.8 kB / 385.6 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.009391, allocations: 23.86 kB / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.00943, allocations: 23.38 kB / 385.7 MB, free: 10.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.009606, allocations: 0.5547 MB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.00963, allocations: 8 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.708e-05/0.009647, allocations: 4 kB / 386.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.57e-05/0.009692, allocations: 27.67 kB / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.009694, allocations: 0 / 386.3 MB, free: 10.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001209/0.009814, allocations: 93.36 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.009829, allocations: 4 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.009834, allocations: 0 / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.009847, allocations: 0 / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.493e-05/0.009902, allocations: 23.92 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.009906, allocations: 4 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.009941, allocations: 0 / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.009948, allocations: 4 kB / 386.4 MB, free: 10.23 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 (5): * Single equations (assignments): 5 * 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.234e-05/0.01004, allocations: 156.6 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.247e-05/0.01009, allocations: 51.66 kB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.01026, allocations: 89.48 kB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.01026, allocations: 7.938 kB / 386.7 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.01027, allocations: 4.062 kB / 386.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01027, allocations: 0 / 386.7 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.01072, allocations: 469.3 kB / 387.2 MB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.01072, allocations: 4 kB / 387.2 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-05/0.01076, allocations: 11.98 kB / 387.2 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.01077, allocations: 4 kB / 387.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.01077, allocations: 0 / 387.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.01077, allocations: 0 / 387.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01078, allocations: 0 / 387.2 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.01094, allocations: 247.5 kB / 387.4 MB, free: 9.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.245e-05/0.01097, allocations: 39.95 kB / 387.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.01099, allocations: 0 / 387.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/0.01105, allocations: 3.984 kB / 387.5 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.01109, allocations: 11.98 kB / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.01109, allocations: 0 / 387.5 MB, free: 9.074 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003247/0.01141, allocations: 434.8 kB / 387.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01141, allocations: 0 / 387.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.01167, allocations: 20 kB / 387.9 MB, free: 8.633 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 (5): * Single equations (assignments): 5 * 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.0009792/0.01265, allocations: 378.5 kB / 388.3 MB, free: 8.371 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.01276, allocations: 31.61 kB / 388.3 MB, free: 8.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01276, allocations: 0 / 388.3 MB, free: 8.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.725e-05/0.01279, allocations: 19.67 kB / 388.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.01312, allocations: 33.14 kB / 388.4 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007492/0.01387, allocations: 0.5812 MB / 389 MB, free: 7.672 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.382e-05/0.01396, allocations: 119.2 kB / 389.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.254e-05/0.01401, allocations: 27.83 kB / 389.1 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.01405, allocations: 12.5 kB / 389.1 MB, free: 7.496 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01405, allocations: 0 / 389.1 MB, free: 7.496 MB / 362.7 MB Notification: Performance of Templates: time 0.004879/0.01893, allocations: 1.484 MB / 390.6 MB, free: 6.027 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.2006066511385143]