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.001164/0.001164, allocations: 84.25 kB / 22.22 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.001272/0.001272, allocations: 164.4 kB / 25.61 MB, free: 8.879 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.045/1.045, allocations: 177 MB / 205.9 MB, free: 4.434 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.1772/0.1772, allocations: 34.87 MB / 297.4 MB, free: 13.33 MB / 282.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.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.464e-05/2.705e-05, allocations: 2.812 kB / 380.1 MB, free: 22.65 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002381/0.002408, allocations: 1.836 MB / 381.9 MB, free: 20.81 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.003748, allocations: 1.076 MB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.715e-05/0.003846, allocations: 3.938 kB / 383 MB, free: 19.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004645/0.00431, allocations: 299.2 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003797/0.00469, allocations: 267 kB / 383.6 MB, free: 19.17 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.004886, allocations: 111.6 kB / 383.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.005142, allocations: 267.2 kB / 383.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.692e-05/0.005199, allocations: 9.812 kB / 383.9 MB, free: 18.79 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.005342, allocations: 155.6 kB / 384.1 MB, free: 18.64 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.005519, allocations: 203.6 kB / 384.3 MB, free: 18.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.005541, allocations: 8 kB / 384.3 MB, free: 18.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.005632, allocations: 51.86 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.005742, allocations: 147.6 kB / 384.5 MB, free: 18.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.476e-05/0.005807, allocations: 75.61 kB / 384.6 MB, free: 18.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.006062, allocations: 278.9 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.006065, allocations: 0 / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.006065, allocations: 0 / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.006072, allocations: 0 / 384.8 MB, free: 17.89 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006192/0.006691, allocations: 0.7862 MB / 385.6 MB, free: 17.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.00673, allocations: 12.03 kB / 385.6 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.006797, allocations: 60.56 kB / 385.7 MB, free: 16.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.007057, allocations: 316.6 kB / 386 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.007077, allocations: 4.375 kB / 386 MB, free: 16.65 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.007089, allocations: 8.359 kB / 386 MB, free: 16.64 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.00722, allocations: 94.22 kB / 386.1 MB, free: 16.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.00723, allocations: 192 / 386.1 MB, free: 16.53 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.007238, allocations: 384 / 386.1 MB, free: 16.53 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.007246, allocations: 7.938 kB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.646e-05/0.007283, allocations: 19.97 kB / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.007462, allocations: 216.9 kB / 386.3 MB, free: 16.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.007587, allocations: 94.14 kB / 386.4 MB, free: 16.14 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.007619, allocations: 27.36 kB / 386.5 MB, free: 16.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.007633, allocations: 7.938 kB / 386.5 MB, free: 16.1 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001223/0.007755, allocations: 108.3 kB / 386.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.007756, allocations: 0 / 386.6 MB, free: 15.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002434/0.008, allocations: 177.2 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.008032, allocations: 77.11 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.008476, allocations: 0.6975 MB / 387.5 MB, free: 14.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.008494, allocations: 25.7 kB / 387.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.008686, allocations: 314.7 kB / 387.9 MB, free: 14.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.00873, allocations: 19.84 kB / 387.9 MB, free: 14.62 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/0.008783, allocations: 43.34 kB / 387.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.008919, allocations: 0.5664 MB / 388.5 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.908e-05/0.008948, allocations: 15.98 kB / 388.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.692e-05/0.008985, allocations: 46.73 kB / 388.5 MB, free: 13.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.452e-05/0.009049, allocations: 79.16 kB / 388.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.009051, allocations: 0 / 388.6 MB, free: 13.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001426/0.009194, allocations: 153.2 kB / 388.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.009207, allocations: 8 kB / 388.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.009214, allocations: 0 / 388.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.009228, allocations: 0 / 388.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.652e-05/0.009314, allocations: 23.98 kB / 388.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.009319, allocations: 8 kB / 388.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.627e-05/0.009376, allocations: 11.89 kB / 388.8 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.009385, allocations: 8 kB / 388.8 MB, free: 13.61 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.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 8.297e-05/0.009468, allocations: 170 kB / 389 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/0.009505, allocations: 59.66 kB / 389.1 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.009674, allocations: 153.9 kB / 389.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.009676, allocations: 0 / 389.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.009679, allocations: 4 kB / 389.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.009685, allocations: 3.938 kB / 389.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/0.009851, allocations: 233 kB / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.009853, allocations: 4 kB / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.009879, allocations: 8 kB / 389.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.009882, allocations: 0 / 389.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.00989, allocations: 7.984 kB / 389.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.009891, allocations: 0 / 389.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.009893, allocations: 0 / 389.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.01003, allocations: 219.8 kB / 389.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.01008, allocations: 59.55 kB / 389.7 MB, free: 12.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.01011, allocations: 8 kB / 389.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.19e-05/0.01015, allocations: 4 kB / 389.7 MB, free: 12.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.992e-05/0.01019, allocations: 15.98 kB / 389.8 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.0102, allocations: 7.984 kB / 389.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002105/0.01042, allocations: 434.7 kB / 390.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.01042, allocations: 0 / 390.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001839/0.0106, allocations: 51.92 kB / 390.2 MB, free: 12.12 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: 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.000816/0.01142, allocations: 387.2 kB / 390.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.01154, allocations: 67.47 kB / 390.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.01154, allocations: 0 / 390.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.01158, allocations: 35.66 kB / 390.7 MB, free: 11.78 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.01185, allocations: 73.64 kB / 390.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006039/0.01246, allocations: 0.6577 MB / 391.5 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.831e-05/0.01252, allocations: 136.1 kB / 391.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.249e-05/0.01259, allocations: 42.94 kB / 391.6 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.0127, allocations: 122.2 kB / 391.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0127, allocations: 0 / 391.7 MB, free: 10.7 MB / 314.7 MB Notification: Performance of Templates: time 0.006451/0.01915, allocations: 4.421 MB / 396.2 MB, free: 6.328 MB / 314.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","",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.782524055801332]