Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.0009175/0.0009175, allocations: 81.81 kB / 21.42 MB, free: 3.062 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.0009536/0.0009536, allocations: 162.5 kB / 24.82 MB, free: 9.309 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.9767/0.9767, allocations: 177 MB / 205.1 MB, free: 5.488 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.2409/0.2409, 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 379.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527e-05/1.67e-05, allocations: 6.312 kB / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002777/0.002793, allocations: 1.754 MB / 381.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.005236, allocations: 1.737 MB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.005299, allocations: 0 / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.0055, allocations: 35.77 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.005816, allocations: 107.4 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001844/0.006, allocations: 79.61 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.006157, allocations: 107.7 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.828e-05/0.006235, allocations: 8 kB / 383.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.00634, allocations: 59.77 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.006448, allocations: 39.89 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.006466, allocations: 4 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001862/0.006652, allocations: 103.8 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.006708, allocations: 23.86 kB / 383.4 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.829e-05/0.006747, allocations: 27.91 kB / 383.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.007015, allocations: 155.5 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.165e-06/0.007017, allocations: 0 / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.007018, allocations: 0 / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.958e-06/0.007022, allocations: 0 / 383.5 MB, free: 13.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004393/0.007461, allocations: 451.8 kB / 384 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.007495, allocations: 12.03 kB / 384 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.007528, allocations: 16.83 kB / 384 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.007685, allocations: 157 kB / 384.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.007696, allocations: 384 / 384.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/0.007713, allocations: 8.375 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.007833, allocations: 100 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.007845, allocations: 7.891 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.007852, allocations: 4 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.007856, allocations: 0 / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.147e-05/0.007887, allocations: 15.92 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.008129, allocations: 252.4 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.105e-05/0.00822, allocations: 55.16 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.543e-05/0.008245, allocations: 15.69 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.008257, allocations: 0 / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.655e-05/0.008343, allocations: 76.91 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.31e-07/0.008344, allocations: 0 / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003247/0.008669, allocations: 133.4 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.008705, allocations: 81.09 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.008855, allocations: 211.5 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.00887, allocations: 33.7 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.008926, allocations: 146.8 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.008953, allocations: 23.8 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.145e-05/0.008994, allocations: 35.3 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.009128, allocations: 0.4923 MB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.009152, allocations: 7.984 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.009205, allocations: 68.73 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.056e-05/0.009265, allocations: 43.69 kB / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.009266, allocations: 0 / 385.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001304/0.009397, allocations: 101.5 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.009408, allocations: 4 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.009412, allocations: 4 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.009422, allocations: 4 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.443e-05/0.009486, allocations: 12 kB / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.009489, allocations: 0 / 386.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.544e-05/0.009534, allocations: 7.984 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.842e-06/0.009541, allocations: 4 kB / 386.1 MB, free: 10.71 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 (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.456e-05/0.009625, allocations: 156.6 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.009656, allocations: 19.89 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.009824, allocations: 102.4 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.009826, allocations: 0 / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.009827, allocations: 0 / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.00983, allocations: 0 / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.01018, allocations: 365.5 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01018, allocations: 0 / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.01021, allocations: 11.94 kB / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01022, allocations: 0 / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.01022, allocations: 4 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.01023, allocations: 0 / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.01023, allocations: 8.016 kB / 386.7 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.01041, allocations: 251.7 kB / 387 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.793e-05/0.01043, allocations: 11.94 kB / 387 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.01046, allocations: 4 kB / 387 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.01054, allocations: 4 kB / 387 MB, free: 9.707 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.646e-05/0.01056, allocations: 11.97 kB / 387 MB, free: 9.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.01058, allocations: 4 kB / 387 MB, free: 9.691 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.131e-05/0.01066, allocations: 153.4 kB / 387.2 MB, free: 9.543 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01066, allocations: 0 / 387.2 MB, free: 9.543 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003145/0.01097, allocations: 55.8 kB / 387.2 MB, free: 9.488 MB / 362.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.001356/0.01233, allocations: 0.5331 MB / 387.8 MB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001035/0.01243, allocations: 51.58 kB / 387.8 MB, free: 9.059 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01244, allocations: 4 kB / 387.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/0.01248, allocations: 27.61 kB / 387.8 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.01278, allocations: 34.92 kB / 387.9 MB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.01309, allocations: 197.9 kB / 388.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.444e-05/0.01313, allocations: 63.34 kB / 388.1 MB, free: 8.684 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.304e-05/0.01319, allocations: 25.09 kB / 388.1 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.01329, allocations: 94.17 kB / 388.2 MB, free: 8.562 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01329, allocations: 0 / 388.2 MB, free: 8.562 MB / 362.7 MB Notification: Performance of Templates: time 0.005296/0.01859, allocations: 2.783 MB / 391 MB, free: 5.816 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.9836113513447344]