Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.0009213/0.0009213, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.0009713/0.0009713, allocations: 161 kB / 24.56 MB, free: 20 kB / 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.02/1.02, allocations: 177.2 MB / 205 MB, free: 5.285 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.261/0.261, allocations: 34.26 MB / 295.7 MB, free: 0.7148 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 3.938 kB / 378.1 MB, free: 2.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.741e-05, allocations: 2.312 kB / 378.1 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002283/0.0023, allocations: 1.719 MB / 379.8 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.003387, allocations: 0.9937 MB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.003447, allocations: 4 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.003727, allocations: 71.66 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.003977, allocations: 107.3 kB / 381 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.004103, allocations: 71.62 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.00424, allocations: 107.7 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.004274, allocations: 4.234 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.004353, allocations: 67.75 kB / 381.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.004435, allocations: 43.89 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.00445, allocations: 4 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.31e-05/0.004513, allocations: 35.91 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.004564, allocations: 23.86 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.004599, allocations: 15.94 kB / 381.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.004754, allocations: 87.72 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004756, allocations: 0 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.004757, allocations: 0 / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.00476, allocations: 0 / 381.5 MB, free: 15.23 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003857/0.005146, allocations: 443.9 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.005179, allocations: 8.031 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.005221, allocations: 20.83 kB / 381.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.005367, allocations: 149.1 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.005384, allocations: 8.359 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.005394, allocations: 384 / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.005497, allocations: 54.95 kB / 382.1 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.005505, allocations: 7.875 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.005515, allocations: 3.984 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.005522, allocations: 7.984 kB / 382.1 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.737e-05/0.005549, allocations: 4 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.00568, allocations: 144.6 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.875e-05/0.005779, allocations: 47.11 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.888e-05/0.005808, allocations: 19.67 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.431e-05/0.005822, allocations: 0 / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.101e-05/0.005913, allocations: 65.05 kB / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.005914, allocations: 0 / 382.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001756/0.00609, allocations: 97.45 kB / 382.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.006117, allocations: 51.41 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.006242, allocations: 226.4 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.175e-05/0.006254, allocations: 33.7 kB / 382.8 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.006305, allocations: 150.9 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.006335, allocations: 15.84 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.104e-05/0.006366, allocations: 31.36 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.006475, allocations: 0.4923 MB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.142e-05/0.006496, allocations: 8 kB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-05/0.006525, allocations: 27.61 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.123e-05/0.006577, allocations: 43.31 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.006579, allocations: 0 / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.241e-05/0.006661, allocations: 77.58 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.006673, allocations: 4 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.006677, allocations: 3.938 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.006691, allocations: 4 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.006749, allocations: 11.98 kB / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.006754, allocations: 0 / 383.7 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.006782, allocations: 7.953 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.006787, allocations: 0 / 383.7 MB, free: 12.77 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 (7): * Single equations (assignments): 7 * 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 6.352e-05/0.00685, allocations: 160.6 kB / 383.8 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.303e-05/0.006863, allocations: 11.95 kB / 383.9 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.006978, allocations: 98.86 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006979, allocations: 0 / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.006983, allocations: 4 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.006986, allocations: 0 / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.545e-05/0.007072, allocations: 148.5 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.007073, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.511e-05/0.007088, allocations: 4 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.007089, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.007095, allocations: 0 / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.007097, allocations: 3.938 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.007098, allocations: 4 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.346e-05/0.007191, allocations: 128.4 kB / 384.2 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.007204, allocations: 7.953 kB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.007218, allocations: 0 / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.232e-05/0.007241, allocations: 15.92 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.635e-05/0.007267, allocations: 0 / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.007277, allocations: 4 kB / 384.3 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.185e-05/0.007349, allocations: 168.1 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007349, allocations: 0 / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000148/0.007497, allocations: 23.94 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0007476/0.008245, allocations: 377.8 kB / 384.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.042e-05/0.008335, allocations: 39.61 kB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.008337, allocations: 4 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.898e-05/0.008366, allocations: 23.73 kB / 384.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000183/0.008549, allocations: 38.09 kB / 384.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.008858, allocations: 194.1 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.405e-05/0.008892, allocations: 63.34 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.826e-05/0.008921, allocations: 16.47 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.008948, allocations: 16.5 kB / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.008949, allocations: 0 / 385.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of Templates: time 0.003315/0.01226, allocations: 1.634 MB / 386.8 MB, free: 9.648 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.2341564539819956]