Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.001884/0.001884, allocations: 91.61 kB / 20.96 MB, free: 3.438 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.002113/0.002113, allocations: 156.9 kB / 24.27 MB, free: 140 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.722/1.722, allocations: 177 MB / 204.5 MB, free: 5.648 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.3786/0.3786, allocations: 34.25 MB / 295.2 MB, free: 0.6562 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 377.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.956e-05, allocations: 2.312 kB / 377.3 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003903/0.003933, allocations: 1.825 MB / 379.1 MB, free: 1.004 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002179/0.006112, allocations: 1.078 MB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.151e-05/0.006193, allocations: 0 / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006298/0.006823, allocations: 303.2 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005707/0.007394, allocations: 266.9 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.007653, allocations: 103.6 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003819/0.008034, allocations: 275.2 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.606e-05/0.008081, allocations: 9.812 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002388/0.008319, allocations: 155.6 kB / 381.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.008609, allocations: 211.6 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.008643, allocations: 8 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.008762, allocations: 43.92 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001731/0.008935, allocations: 139.5 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.009057, allocations: 75.66 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005198/0.009577, allocations: 358.7 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.00958, allocations: 0 / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.009581, allocations: 0 / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.009587, allocations: 0 / 382.1 MB, free: 14.01 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001305/0.01089, allocations: 0.8094 MB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.01094, allocations: 8.031 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.01106, allocations: 64.5 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006088/0.01167, allocations: 332.6 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.01169, allocations: 8.359 kB / 383.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.01171, allocations: 4.375 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.01194, allocations: 89.58 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.01195, allocations: 192 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.01196, allocations: 384 / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.01197, allocations: 3.938 kB / 383.4 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.01208, allocations: 35.92 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.01258, allocations: 360.1 kB / 383.8 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/0.01291, allocations: 118.1 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.01301, allocations: 43.34 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.01303, allocations: 4 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.01327, allocations: 120.3 kB / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.01327, allocations: 0 / 384.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005244/0.01379, allocations: 201.2 kB / 384.3 MB, free: 11.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.198e-05/0.01387, allocations: 89.05 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001035/0.0149, allocations: 0.7682 MB / 385.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.01493, allocations: 29.7 kB / 385.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000811/0.01574, allocations: 330.8 kB / 385.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.0158, allocations: 23.84 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.01589, allocations: 35.38 kB / 385.5 MB, free: 10.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004957/0.01639, allocations: 0.586 MB / 386.1 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.01649, allocations: 23.98 kB / 386.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.01661, allocations: 62.73 kB / 386.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.01683, allocations: 103.2 kB / 386.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01683, allocations: 4 kB / 386.3 MB, free: 9.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003965/0.01723, allocations: 165.2 kB / 386.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.01724, allocations: 4 kB / 386.5 MB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.01725, allocations: 3.938 kB / 386.5 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.01727, allocations: 4 kB / 386.5 MB, free: 9.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.01743, allocations: 27.92 kB / 386.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.01744, allocations: 4 kB / 386.5 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.01759, allocations: 15.88 kB / 386.5 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.01761, allocations: 8.062 kB / 386.5 MB, free: 9.277 MB / 362.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002351/0.01784, allocations: 174 kB / 386.7 MB, free: 9.098 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.01796, allocations: 51.67 kB / 386.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005476/0.01851, allocations: 177.9 kB / 386.9 MB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.01852, allocations: 4 kB / 386.9 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.01853, allocations: 7.875 kB / 386.9 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.01853, allocations: 0 / 386.9 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006449/0.01918, allocations: 360.4 kB / 387.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.01918, allocations: 0 / 387.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.01925, allocations: 12 kB / 387.3 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01925, allocations: 4 kB / 387.3 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.01927, allocations: 12.17 kB / 387.3 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01927, allocations: 0 / 387.3 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.01927, allocations: 4 kB / 387.3 MB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/0.01982, allocations: 231.6 kB / 387.6 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.02004, allocations: 67.55 kB / 387.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.92e-05/0.02011, allocations: 0 / 387.6 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.02024, allocations: 8 kB / 387.6 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.02032, allocations: 15.91 kB / 387.6 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.004e-05/0.02035, allocations: 4 kB / 387.6 MB, free: 8.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001006/0.02135, allocations: 0.5027 MB / 388.1 MB, free: 7.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.02135, allocations: 4 kB / 388.2 MB, free: 7.586 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005013/0.02186, allocations: 43.98 kB / 388.2 MB, free: 7.543 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.003907/0.02576, allocations: 436.5 kB / 388.6 MB, free: 7.262 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004262/0.02619, allocations: 103.6 kB / 388.7 MB, free: 7.156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.02619, allocations: 0 / 388.7 MB, free: 7.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.02635, allocations: 43.61 kB / 388.8 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007005/0.02706, allocations: 74.12 kB / 388.8 MB, free: 7.035 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.02859, allocations: 0.6832 MB / 389.5 MB, free: 6.316 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/0.02894, allocations: 233.7 kB / 389.7 MB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001387/0.02908, allocations: 42.94 kB / 389.8 MB, free: 6.023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.02919, allocations: 28.44 kB / 389.8 MB, free: 5.996 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.02919, allocations: 0 / 389.8 MB, free: 5.996 MB / 362.7 MB Notification: Performance of Templates: time 0.01362/0.04281, allocations: 4.015 MB / 393.8 MB, free: 2.012 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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: 5.171534702065401]