Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.001569/0.001569, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.004694/0.004694, allocations: 160.9 kB / 24.91 MB, free: 8.719 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 1.065/1.065, allocations: 177 MB / 205.2 MB, free: 5.027 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.2773/0.2773, allocations: 34.86 MB / 296.6 MB, free: 496 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.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 326 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.363e-05, allocations: 6.469 kB / 326 MB, free: 7.043 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00367/0.003694, allocations: 2.088 MB / 328.1 MB, free: 4.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.005652, allocations: 1.099 MB / 329.2 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.005799, allocations: 4 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003315/0.006131, allocations: 47.53 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003881/0.006519, allocations: 111.3 kB / 329.4 MB, free: 3.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.006852, allocations: 115.5 kB / 329.5 MB, free: 3.566 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.007157, allocations: 215.3 kB / 329.7 MB, free: 3.355 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.007269, allocations: 30.38 kB / 329.7 MB, free: 3.324 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001791/0.007449, allocations: 111.7 kB / 329.8 MB, free: 3.215 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.007566, allocations: 59.8 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.007593, allocations: 12 kB / 329.9 MB, free: 3.145 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.007699, allocations: 47.98 kB / 330 MB, free: 3.098 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.319e-05/0.007762, allocations: 47.77 kB / 330 MB, free: 3.051 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.007821, allocations: 39.86 kB / 330.1 MB, free: 3.012 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.008085, allocations: 171.3 kB / 330.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.008087, allocations: 0 / 330.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008088, allocations: 0 / 330.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.008092, allocations: 4 kB / 330.2 MB, free: 2.84 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006405/0.008733, allocations: 472.4 kB / 330.7 MB, free: 2.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.008768, allocations: 8.031 kB / 330.7 MB, free: 2.332 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.008817, allocations: 16.92 kB / 330.7 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.009051, allocations: 177.4 kB / 330.9 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.00907, allocations: 12.31 kB / 330.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.009097, allocations: 4.375 kB / 330.9 MB, free: 2.102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.009337, allocations: 162.7 kB / 331.1 MB, free: 1.918 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.009346, allocations: 192 / 331.1 MB, free: 1.918 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.009359, allocations: 12.36 kB / 331.1 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.009367, allocations: 3.938 kB / 331.1 MB, free: 1.902 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.616e-05/0.009433, allocations: 26.81 kB / 331.1 MB, free: 1.875 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.009851, allocations: 382 kB / 331.5 MB, free: 1.477 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.01007, allocations: 117.2 kB / 331.6 MB, free: 1.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.01012, allocations: 24.78 kB / 331.6 MB, free: 1.324 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.01013, allocations: 8 kB / 331.6 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.01029, allocations: 116.8 kB / 331.7 MB, free: 1.184 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.01029, allocations: 4 kB / 331.7 MB, free: 1.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001956/0.01049, allocations: 94.41 kB / 331.8 MB, free: 1.082 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.01052, allocations: 55.41 kB / 331.9 MB, free: 1.016 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.0107, allocations: 213.1 kB / 332.1 MB, free: 0.793 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.01072, allocations: 25.7 kB / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.463e-05/0.01079, allocations: 116.8 kB / 332.2 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.01082, allocations: 35.86 kB / 332.3 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.01088, allocations: 37.69 kB / 332.3 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.01098, allocations: 330.8 kB / 332.6 MB, free: 236 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.639e-05/0.01104, allocations: 53.14 kB / 332.7 MB, free: 176 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.059e-05/0.01111, allocations: 77.97 kB / 332.8 MB, free: 76 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.01124, allocations: 112.5 kB / 332.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01125, allocations: 0 / 332.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001875/0.01143, allocations: 167.7 kB / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.01146, allocations: 35.27 kB / 333.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01147, allocations: 0 / 333.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.01148, allocations: 4 kB / 333.1 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.01161, allocations: 39.89 kB / 333.1 MB, free: 15.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.01162, allocations: 4 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.841e-05/0.01172, allocations: 23.88 kB / 333.1 MB, free: 15.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.01173, allocations: 4 kB / 333.1 MB, free: 15.64 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.337e-05/0.01182, allocations: 128.7 kB / 333.3 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.01185, allocations: 19.92 kB / 333.3 MB, free: 15.49 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.01202, allocations: 100.2 kB / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.01202, allocations: 0 / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01202, allocations: 0 / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01202, allocations: 0 / 333.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.01242, allocations: 117.7 kB / 333.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.01242, allocations: 4 kB / 333.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.403e-05/0.01252, allocations: 15.98 kB / 333.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.01252, allocations: 11.88 kB / 333.5 MB, free: 15.22 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.01254, allocations: 7.984 kB / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01254, allocations: 0 / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01254, allocations: 3.938 kB / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002024/0.01274, allocations: 127.6 kB / 333.7 MB, free: 15.06 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.01277, allocations: 19.89 kB / 333.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.0128, allocations: 7.938 kB / 333.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.01287, allocations: 15.98 kB / 333.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.538e-05/0.01293, allocations: 15.97 kB / 333.7 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.01295, allocations: 4 kB / 333.7 MB, free: 15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.695e-05/0.01302, allocations: 70.23 kB / 333.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01302, allocations: 4.031 kB / 333.8 MB, free: 14.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002276/0.01325, allocations: 47.88 kB / 333.8 MB, free: 14.88 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001467/0.01472, allocations: 0.4951 MB / 334.3 MB, free: 14.63 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.01492, allocations: 145.9 kB / 334.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.01493, allocations: 0 / 334.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.049e-05/0.015, allocations: 44.77 kB / 334.5 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.01521, allocations: 56.86 kB / 334.6 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.01571, allocations: 299.4 kB / 334.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.732e-05/0.01576, allocations: 75.98 kB / 334.9 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.793e-05/0.01584, allocations: 13.48 kB / 335 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.01595, allocations: 99.28 kB / 335.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01595, allocations: 0 / 335.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of Templates: time 0.0047/0.02065, allocations: 3.205 MB / 338.3 MB, free: 10.7 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.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.003332471009344]