Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.257/0.257, allocations: 32.81 MB / 294.6 MB, free: 1.234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 376.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.046e-05, allocations: 10.25 kB / 376.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002576/0.002606, allocations: 1.836 MB / 378.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.004271, allocations: 1.068 MB / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.004394, allocations: 0 / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005722/0.004966, allocations: 307.1 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005339/0.0055, allocations: 267 kB / 380 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.0058, allocations: 107.6 kB / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003752/0.006175, allocations: 275.2 kB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.442e-05/0.00623, allocations: 5.812 kB / 380.4 MB, free: 448 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002613/0.006491, allocations: 155.6 kB / 380.6 MB, free: 292 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.006764, allocations: 203.6 kB / 380.8 MB, free: 88 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.006795, allocations: 11.94 kB / 380.8 MB, free: 76 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.006912, allocations: 47.92 kB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.007074, allocations: 143.6 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.007167, allocations: 71.66 kB / 381 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.007564, allocations: 278.9 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.007568, allocations: 4 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.007569, allocations: 0 / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.007575, allocations: 4 kB / 381.3 MB, free: 15.54 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.0009982/0.008573, allocations: 0.79 MB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.008617, allocations: 8.031 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.896e-05/0.008706, allocations: 56.56 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.009089, allocations: 324.6 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.009111, allocations: 4.375 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.574e-05/0.009127, allocations: 4.375 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/0.009292, allocations: 94.27 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.009305, allocations: 3.938 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.009313, allocations: 4 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.009321, allocations: 4 kB / 382.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.65e-05/0.009367, allocations: 15.92 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.009668, allocations: 224.8 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.009815, allocations: 86.22 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.649e-05/0.009861, allocations: 39.28 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.00988, allocations: 0 / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.01003, allocations: 112.4 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.01003, allocations: 0 / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003481/0.01038, allocations: 173.2 kB / 383.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.01043, allocations: 77.11 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007603/0.01119, allocations: 0.6859 MB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.01121, allocations: 29.7 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.01145, allocations: 314.7 kB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.0115, allocations: 39.72 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.01156, allocations: 35.36 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002634/0.01183, allocations: 0.5703 MB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.44e-05/0.01186, allocations: 8 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.989e-05/0.01192, allocations: 54.72 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.799e-05/0.01202, allocations: 70.67 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01202, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002218/0.01224, allocations: 141.3 kB / 385.2 MB, free: 11.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.01227, allocations: 11.94 kB / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01228, allocations: 64 / 385.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.01229, allocations: 7.938 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.0124, allocations: 28.55 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.01241, allocations: 0 / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9e-05/0.0125, allocations: 7.953 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.01251, allocations: 7.984 kB / 385.3 MB, free: 11.26 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.0001362/0.01264, allocations: 165.2 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.819e-05/0.01271, allocations: 59.67 kB / 385.5 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.01296, allocations: 153.9 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.01297, allocations: 7.938 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.01297, allocations: 7.984 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01298, allocations: 0 / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002573/0.01323, allocations: 233 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01324, allocations: 0 / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.01328, allocations: 15.92 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.01328, allocations: 4 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.01329, allocations: 0 / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.01329, allocations: 0 / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.0133, allocations: 4 kB / 385.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.01354, allocations: 215.6 kB / 386.1 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.377e-05/0.01361, allocations: 55.66 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.01365, allocations: 8 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.52e-05/0.01371, allocations: 7.984 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.01376, allocations: 15.92 kB / 386.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.01377, allocations: 4 kB / 386.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003964/0.01417, allocations: 442.6 kB / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.01417, allocations: 0 / 386.7 MB, free: 9.824 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.01446, allocations: 44 kB / 386.7 MB, free: 9.781 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.001098/0.01556, allocations: 396.3 kB / 387.1 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.0157, allocations: 59.59 kB / 387.2 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.0157, allocations: 4 kB / 387.2 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.666e-05/0.01576, allocations: 43.95 kB / 387.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.01612, allocations: 77.56 kB / 387.3 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008505/0.01698, allocations: 0.6558 MB / 387.9 MB, free: 8.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.01708, allocations: 128.2 kB / 388.1 MB, free: 8.512 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.137e-05/0.01718, allocations: 42.94 kB / 388.1 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.01732, allocations: 122.2 kB / 388.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01732, allocations: 0 / 388.2 MB, free: 8.344 MB / 362.7 MB Notification: Performance of Templates: time 0.00774/0.02506, allocations: 4.358 MB / 392.6 MB, free: 4.062 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.208071800880134]