Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.0009781/0.0009781, allocations: 84.73 kB / 21.5 MB, free: 2.992 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.001082/0.001082, allocations: 165.3 kB / 24.91 MB, free: 9.199 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.9678/0.9678, allocations: 177 MB / 205.2 MB, free: 5.469 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.264/0.264, allocations: 34.86 MB / 296.6 MB, free: 0.5 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.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.177e-05, allocations: 4.141 kB / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.004327/0.004349, allocations: 1.76 MB / 327.8 MB, free: 5.305 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.006914, allocations: 1.748 MB / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.007017, allocations: 0 / 329.5 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.007341, allocations: 35.77 kB / 329.5 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.007792, allocations: 107.4 kB / 329.6 MB, free: 3.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.008073, allocations: 79.59 kB / 329.7 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.008294, allocations: 112.4 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.949e-05/0.008383, allocations: 11.97 kB / 329.8 MB, free: 3.211 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.008503, allocations: 55.84 kB / 329.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.008649, allocations: 31.89 kB / 329.9 MB, free: 3.125 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.008671, allocations: 12 kB / 329.9 MB, free: 3.113 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.008887, allocations: 107.7 kB / 330 MB, free: 3.008 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.008945, allocations: 23.92 kB / 330.1 MB, free: 2.984 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.964e-05/0.008985, allocations: 23.86 kB / 330.1 MB, free: 2.961 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003385/0.009323, allocations: 151.5 kB / 330.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.00933, allocations: 0 / 330.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.009331, allocations: 0 / 330.2 MB, free: 2.812 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.009337, allocations: 0 / 330.2 MB, free: 2.812 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005342/0.009871, allocations: 337.4 kB / 330.6 MB, free: 2.461 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.009908, allocations: 8.031 kB / 330.6 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.009954, allocations: 4.938 kB / 330.6 MB, free: 2.449 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.01019, allocations: 154.2 kB / 330.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.0102, allocations: 384 / 330.7 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.01023, allocations: 4.375 kB / 330.7 MB, free: 2.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.01041, allocations: 101.2 kB / 330.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.01043, allocations: 7.875 kB / 330.8 MB, free: 2.141 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.01044, allocations: 3.984 kB / 330.9 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.01045, allocations: 0 / 330.9 MB, free: 2.137 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.971e-05/0.01049, allocations: 18.81 kB / 330.9 MB, free: 2.117 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.0108, allocations: 166 kB / 331 MB, free: 1.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.01095, allocations: 85.3 kB / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.307e-05/0.01098, allocations: 16.86 kB / 331.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.01099, allocations: 0 / 331.1 MB, free: 1.824 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001276/0.01112, allocations: 74.06 kB / 331.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.01112, allocations: 0 / 331.2 MB, free: 1.738 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003716/0.01149, allocations: 109.5 kB / 331.3 MB, free: 1.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.01154, allocations: 77.11 kB / 331.4 MB, free: 1.531 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.01168, allocations: 160.3 kB / 331.5 MB, free: 1.359 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.0117, allocations: 25.7 kB / 331.6 MB, free: 1.328 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.158e-05/0.01174, allocations: 100.1 kB / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.01178, allocations: 31.73 kB / 331.7 MB, free: 1.195 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.01182, allocations: 21.7 kB / 331.7 MB, free: 1.168 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.01192, allocations: 326.8 kB / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.33e-05/0.01195, allocations: 10.83 kB / 332 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.887e-05/0.012, allocations: 52.64 kB / 332.1 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.717e-05/0.01206, allocations: 44.45 kB / 332.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.01207, allocations: 0 / 332.1 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001335/0.0122, allocations: 84.31 kB / 332.2 MB, free: 0.6211 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.01222, allocations: 8.062 kB / 332.2 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.01222, allocations: 4 kB / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.01224, allocations: 0 / 332.2 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.578e-05/0.01232, allocations: 15.98 kB / 332.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.01233, allocations: 0 / 332.3 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.62e-05/0.01237, allocations: 4 kB / 332.3 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.01238, allocations: 0 / 332.3 MB, free: 0.5898 MB / 298.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 (10): * Single equations (assignments): 10 * 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 8.864e-05/0.01247, allocations: 116.7 kB / 332.4 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.01249, allocations: 15.92 kB / 332.4 MB, free: 460 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.01264, allocations: 78.38 kB / 332.5 MB, free: 376 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01264, allocations: 4 kB / 332.5 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.01264, allocations: 0 / 332.5 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01265, allocations: 0 / 332.5 MB, free: 372 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.01296, allocations: 291.6 kB / 332.8 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01296, allocations: 0 / 332.8 MB, free: 52 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.089e-05/0.013, allocations: 11.98 kB / 332.8 MB, free: 40 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.013, allocations: 3.938 kB / 332.8 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.01301, allocations: 0 / 332.8 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01301, allocations: 4 kB / 332.8 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.01301, allocations: 80 / 332.8 MB, free: 32 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.01319, allocations: 223.1 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/0.01321, allocations: 15.88 kB / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.01324, allocations: 0 / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.41e-05/0.01331, allocations: 4 kB / 333 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.01335, allocations: 11.98 kB / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.01336, allocations: 4 kB / 333 MB, free: 15.76 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.276e-05/0.01343, allocations: 37.08 kB / 333.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01343, allocations: 0 / 333.1 MB, free: 15.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003275/0.01375, allocations: 51.86 kB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.002227/0.01598, allocations: 0.695 MB / 333.8 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001477/0.01613, allocations: 44.77 kB / 333.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.01613, allocations: 0 / 333.8 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.995e-05/0.01618, allocations: 24.8 kB / 333.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.01648, allocations: 49.98 kB / 333.9 MB, free: 15.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.01692, allocations: 196 kB / 334.1 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.172e-05/0.01697, allocations: 63.34 kB / 334.2 MB, free: 14.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.695e-05/0.01704, allocations: 20.97 kB / 334.2 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.01715, allocations: 71.36 kB / 334.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of SimCode: time 8.61e-07/0.01715, allocations: 0 / 334.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of Templates: time 0.006354/0.0235, allocations: 2.769 MB / 337 MB, free: 12.05 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.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.975428380072117]