Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.001359/0.001359, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.001583/0.001583, allocations: 156.9 kB / 24.27 MB, free: 172 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.544/1.544, allocations: 177 MB / 204.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.3878/0.3878, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.083e-05/3.249e-05, allocations: 2.312 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003439/0.003472, allocations: 1.671 MB / 379 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.00534, allocations: 0.962 MB / 379.9 MB, free: 168 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.005404, allocations: 0 / 379.9 MB, free: 168 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.005748, allocations: 67.67 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003649/0.006113, allocations: 107.5 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.00631, allocations: 75.61 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.006524, allocations: 111.6 kB / 380.3 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.006562, allocations: 4.234 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.006689, allocations: 63.77 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.006794, allocations: 43.88 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.006814, allocations: 4 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.424e-05/0.006898, allocations: 31.94 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.629e-05/0.006965, allocations: 23.86 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.362e-05/0.007018, allocations: 23.91 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.007229, allocations: 95.7 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.007232, allocations: 0 / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.007234, allocations: 0 / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.00724, allocations: 0 / 380.6 MB, free: 15.52 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006148/0.007854, allocations: 337.6 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.007907, allocations: 16.03 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.647e-05/0.007974, allocations: 12.83 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.008274, allocations: 154.2 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.00829, allocations: 4.375 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.008303, allocations: 4.359 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.008471, allocations: 46.25 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.008479, allocations: 192 / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.008491, allocations: 4.359 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.008497, allocations: 7.875 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.948e-05/0.008576, allocations: 19.98 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.008771, allocations: 133.3 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.008952, allocations: 50.56 kB / 381.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.674e-05/0.009018, allocations: 20.84 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.009034, allocations: 0 / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.009223, allocations: 67.39 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 3.888e-06/0.009227, allocations: 3.984 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004509/0.009678, allocations: 105.5 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.339e-05/0.009732, allocations: 59.34 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.009963, allocations: 206.7 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.009984, allocations: 25.7 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.01006, allocations: 104.1 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/0.01009, allocations: 11.91 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.496e-05/0.01014, allocations: 21.7 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.01033, allocations: 326.8 kB / 382.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.972e-05/0.01039, allocations: 15.98 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.334e-05/0.01045, allocations: 29.7 kB / 382.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.01057, allocations: 49.64 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.01057, allocations: 4 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001775/0.01075, allocations: 81.64 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.01076, allocations: 7.938 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.01077, allocations: 0 / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.01079, allocations: 4 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/0.01087, allocations: 15.92 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.01088, allocations: 0 / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.536e-05/0.01093, allocations: 7.938 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.01094, allocations: 0 / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 0.0001184/0.01106, allocations: 129.9 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.01108, allocations: 15.91 kB / 382.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002436/0.01133, allocations: 99.06 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01133, allocations: 64 / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.01134, allocations: 7.938 kB / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.01134, allocations: 0 / 382.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.01149, allocations: 133.3 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.01149, allocations: 0 / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.748e-05/0.01152, allocations: 7.938 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.01152, allocations: 0 / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.01153, allocations: 0 / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.01153, allocations: 4 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.01153, allocations: 3.984 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002278/0.01176, allocations: 121 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.01179, allocations: 11.95 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.01181, allocations: 7.938 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.817e-05/0.01185, allocations: 0 / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.0119, allocations: 11.92 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.01192, allocations: 0 / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.01208, allocations: 151.2 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01208, allocations: 0 / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00022/0.0123, allocations: 23.94 kB / 383.2 MB, free: 12.64 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001949/0.01425, allocations: 423.2 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001763/0.01443, allocations: 43.97 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01443, allocations: 3.938 kB / 383.7 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.773e-05/0.0145, allocations: 16 kB / 383.7 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.01479, allocations: 35.89 kB / 383.7 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.0153, allocations: 208.6 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.0154, allocations: 97.44 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.658e-05/0.01545, allocations: 12.48 kB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.826e-05/0.01549, allocations: 12.5 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01549, allocations: 0 / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Templates: time 0.005054/0.02054, allocations: 1.646 MB / 385.7 MB, free: 10.29 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.824282826040871]