Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.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.001167/0.001167, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.002609/0.002609, allocations: 167.1 kB / 25.61 MB, free: 8.887 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.077/1.077, allocations: 177 MB / 205.9 MB, free: 4.457 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.1855/0.1855, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 380.1 MB, free: 22.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.936e-05/3.156e-05, allocations: 3 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003239/0.003271, allocations: 1.932 MB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.005145, allocations: 1.088 MB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.005253, allocations: 3.938 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004124/0.005666, allocations: 227.2 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005006/0.006166, allocations: 219.1 kB / 383.6 MB, free: 19.18 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.006512, allocations: 127.5 kB / 383.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000342/0.006854, allocations: 259.2 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.006975, allocations: 21.94 kB / 384 MB, free: 18.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.007147, allocations: 143.6 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.007322, allocations: 159.7 kB / 384.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.007345, allocations: 8 kB / 384.3 MB, free: 18.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.007473, allocations: 67.86 kB / 384.3 MB, free: 18.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.236e-05/0.007565, allocations: 63.77 kB / 384.4 MB, free: 18.35 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/0.007625, allocations: 47.78 kB / 384.4 MB, free: 18.3 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002847/0.00791, allocations: 195.2 kB / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.007914, allocations: 0 / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.007916, allocations: 0 / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.007922, allocations: 0 / 384.6 MB, free: 18.11 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006393/0.008562, allocations: 0.6079 MB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.008606, allocations: 8.031 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.237e-05/0.008678, allocations: 36.75 kB / 385.3 MB, free: 17.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.008927, allocations: 228.5 kB / 385.5 MB, free: 17.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.00895, allocations: 4.375 kB / 385.5 MB, free: 17.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.008976, allocations: 12.38 kB / 385.5 MB, free: 17.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.009175, allocations: 110.2 kB / 385.6 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.009189, allocations: 192 / 385.6 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.0092, allocations: 384 / 385.6 MB, free: 17.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.009209, allocations: 11.88 kB / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.433e-05/0.009263, allocations: 27.95 kB / 385.7 MB, free: 16.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.009712, allocations: 475.1 kB / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.009977, allocations: 114.2 kB / 386.2 MB, free: 16.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.061e-05/0.01002, allocations: 31.36 kB / 386.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.01003, allocations: 7.938 kB / 386.3 MB, free: 16.31 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001661/0.0102, allocations: 112.4 kB / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.0102, allocations: 0 / 386.4 MB, free: 16.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007793/0.01098, allocations: 378 kB / 386.8 MB, free: 15.8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.224e-05/0.01101, allocations: 85.11 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002283/0.01124, allocations: 386.2 kB / 387.2 MB, free: 15.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.01126, allocations: 33.7 kB / 387.3 MB, free: 15.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.155e-05/0.01134, allocations: 215.2 kB / 387.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.437e-05/0.0114, allocations: 75.41 kB / 387.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.01145, allocations: 47.34 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.287e-05/0.01153, allocations: 0.5351 MB / 388.1 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.014e-05/0.01157, allocations: 23.98 kB / 388.1 MB, free: 14.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.978e-05/0.01163, allocations: 74.86 kB / 388.2 MB, free: 14.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.01174, allocations: 110.6 kB / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01174, allocations: 0 / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002177/0.01196, allocations: 196.9 kB / 388.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.01197, allocations: 4 kB / 388.5 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.01198, allocations: 4 kB / 388.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.01199, allocations: 0 / 388.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.01211, allocations: 47.91 kB / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.01211, allocations: 0 / 388.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.887e-05/0.01217, allocations: 12.02 kB / 388.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.01218, allocations: 12.23 kB / 388.6 MB, free: 13.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 7.578e-05/0.01226, allocations: 184.4 kB / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.0123, allocations: 39.81 kB / 388.8 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.01255, allocations: 212.4 kB / 389 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01256, allocations: 4 kB / 389 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.01256, allocations: 0 / 389 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.01256, allocations: 0 / 389 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.01303, allocations: 0.7025 MB / 389.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01303, allocations: 4 kB / 389.7 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.735e-05/0.0131, allocations: 31.92 kB / 389.8 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.01311, allocations: 4 kB / 389.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.01312, allocations: 15.92 kB / 389.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.01312, allocations: 4 kB / 389.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01312, allocations: 3.938 kB / 389.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.01338, allocations: 498.4 kB / 390.3 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.01341, allocations: 35.75 kB / 390.3 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.01344, allocations: 16.06 kB / 390.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.01356, allocations: 4 kB / 390.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.0136, allocations: 19.97 kB / 390.3 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.01362, allocations: 11.98 kB / 390.4 MB, free: 11.99 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.01374, allocations: 258.9 kB / 390.6 MB, free: 11.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01374, allocations: 0 / 390.6 MB, free: 11.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003274/0.01407, allocations: 51.92 kB / 390.7 MB, free: 11.69 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.001157/0.01523, allocations: 495 kB / 391.1 MB, free: 11.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.0154, allocations: 119.5 kB / 391.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.0154, allocations: 0 / 391.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.086e-05/0.01548, allocations: 67.53 kB / 391.3 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.01591, allocations: 71.38 kB / 391.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005134/0.01643, allocations: 499.2 kB / 391.9 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.9e-05/0.01649, allocations: 104.2 kB / 392 MB, free: 10.47 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.767e-05/0.01656, allocations: 41.92 kB / 392 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.01666, allocations: 118.2 kB / 392.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01666, allocations: 0 / 392.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of Templates: time 0.00596/0.02262, allocations: 3.742 MB / 395.9 MB, free: 6.637 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.8424512911587954]