Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.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.000974/0.000974, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.001069/0.001069, allocations: 168.4 kB / 25.61 MB, free: 8.902 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 0.9431/0.9431, allocations: 177.1 MB / 206 MB, free: 4.488 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.1543/0.1543, allocations: 32.8 MB / 295.4 MB, free: 15.39 MB / 282.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.325e-05, allocations: 4.828 kB / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002247/0.00227, allocations: 1.707 MB / 379.1 MB, free: 23.8 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.003456, allocations: 0.9741 MB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.003535, allocations: 0 / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.003808, allocations: 51.75 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.004105, allocations: 111.5 kB / 380.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001797/0.004285, allocations: 75.61 kB / 380.3 MB, free: 22.58 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.00442, allocations: 99.69 kB / 380.4 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.996e-05/0.00446, allocations: 12.23 kB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.004544, allocations: 55.77 kB / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.594e-05/0.00461, allocations: 23.91 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.004625, allocations: 4 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.745e-05/0.004692, allocations: 31.94 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.004736, allocations: 31.84 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.993e-05/0.004766, allocations: 19.92 kB / 380.5 MB, free: 22.31 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.004922, allocations: 103.6 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.004924, allocations: 0 / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.004924, allocations: 0 / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.004929, allocations: 0 / 380.6 MB, free: 22.21 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003391/0.005268, allocations: 479.6 kB / 381.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.0053, allocations: 15.98 kB / 381.1 MB, free: 21.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.005336, allocations: 16.84 kB / 381.1 MB, free: 21.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.005461, allocations: 157.3 kB / 381.3 MB, free: 21.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.005476, allocations: 4.375 kB / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.005484, allocations: 384 / 381.3 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.987e-05/0.005574, allocations: 58.94 kB / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.005581, allocations: 3.938 kB / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.005588, allocations: 0 / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.005592, allocations: 0 / 381.4 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.425e-05/0.005616, allocations: 23.86 kB / 381.4 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000104/0.00572, allocations: 125.2 kB / 381.5 MB, free: 21.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.771e-05/0.005808, allocations: 39.11 kB / 381.5 MB, free: 21.19 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.152e-05/0.00583, allocations: 19.69 kB / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.00584, allocations: 0 / 381.6 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.355e-05/0.005923, allocations: 57.05 kB / 381.6 MB, free: 21.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.005925, allocations: 4 kB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000159/0.006084, allocations: 89.45 kB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/0.006102, allocations: 55.41 kB / 381.8 MB, free: 20.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.006225, allocations: 278.5 kB / 382 MB, free: 20.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.006234, allocations: 25.7 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.369e-05/0.006278, allocations: 166.8 kB / 382.2 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.683e-05/0.006305, allocations: 11.91 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.528e-05/0.00634, allocations: 31.34 kB / 382.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.526e-05/0.006395, allocations: 0.504 MB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.927e-05/0.006415, allocations: 4 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.006437, allocations: 23.36 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.973e-05/0.006477, allocations: 39.31 kB / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.006479, allocations: 0 / 382.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.43e-05/0.006563, allocations: 73.53 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.006575, allocations: 5.875 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.006578, allocations: 4 kB / 382.9 MB, free: 19.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.006588, allocations: 7.922 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.784e-05/0.006646, allocations: 8 kB / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.00665, allocations: 0 / 382.9 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.572e-05/0.006695, allocations: 8 kB / 382.9 MB, free: 19.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-06/0.006701, allocations: 0 / 382.9 MB, free: 19.69 MB / 314.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 5.412e-05/0.006755, allocations: 168.6 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.006773, allocations: 15.91 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.00688, allocations: 83.08 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.006884, allocations: 11.98 kB / 383.2 MB, free: 19.4 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.006886, allocations: 4 kB / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.006888, allocations: 0 / 383.2 MB, free: 19.39 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.076e-05/0.006969, allocations: 125.2 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.00697, allocations: 0 / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.006991, allocations: 8 kB / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.006992, allocations: 3.938 kB / 383.3 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.006998, allocations: 8 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.006999, allocations: 0 / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.007001, allocations: 0 / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.544e-05/0.007086, allocations: 124.2 kB / 383.5 MB, free: 19.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.626e-05/0.007102, allocations: 15.84 kB / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.007119, allocations: 0 / 383.5 MB, free: 19.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.716e-05/0.007146, allocations: 7.984 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.069e-05/0.007167, allocations: 0 / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.007178, allocations: 7.938 kB / 383.5 MB, free: 19.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.64e-05/0.007245, allocations: 188.5 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007245, allocations: 0 / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.00745, allocations: 23.98 kB / 383.7 MB, free: 18.84 MB / 314.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.0008699/0.00832, allocations: 372.2 kB / 384.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.615e-05/0.008406, allocations: 43.59 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008408, allocations: 0 / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.696e-05/0.008435, allocations: 19.69 kB / 384.1 MB, free: 18.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.008653, allocations: 48.45 kB / 384.2 MB, free: 18.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.008946, allocations: 232.7 kB / 384.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.935e-05/0.008976, allocations: 75.14 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.196e-05/0.009008, allocations: 16.48 kB / 384.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.406e-05/0.009062, allocations: 86.19 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.009062, allocations: 4.062 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of Templates: time 0.003553/0.01262, allocations: 1.829 MB / 386.4 MB, free: 16.25 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.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.199400540906936]