Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.001327/0.001327, 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.001189/0.001189, allocations: 174.1 kB / 24.82 MB, free: 8.934 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.052/1.052, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.2799/0.2799, allocations: 34.25 MB / 296.1 MB, free: 0.6445 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 378.6 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.128e-06/1.018e-05, allocations: 2.312 kB / 378.6 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.001939/0.001949, allocations: 1.707 MB / 380.3 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.003074, allocations: 0.9781 MB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.046e-05/0.003134, allocations: 7.938 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002095/0.003344, allocations: 59.69 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002952/0.003639, allocations: 103.5 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.003792, allocations: 71.62 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.003924, allocations: 111.6 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.04e-05/0.003954, allocations: 240 / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.969e-05/0.004034, allocations: 63.81 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.004102, allocations: 31.91 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.004114, allocations: 4 kB / 381.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.206e-05/0.004176, allocations: 47.91 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.004212, allocations: 19.86 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.004241, allocations: 15.94 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001223/0.004363, allocations: 83.72 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.004365, allocations: 0 / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004366, allocations: 0 / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.004369, allocations: 0 / 381.9 MB, free: 14.97 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.0003824/0.004751, allocations: 435.9 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.004782, allocations: 8.031 kB / 382.3 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.004813, allocations: 16.89 kB / 382.3 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.004952, allocations: 144.5 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.004964, allocations: 4.375 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-06/0.00497, allocations: 384 / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.025e-05/0.005051, allocations: 54.94 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005058, allocations: 3.938 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-06/0.005063, allocations: 0 / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.00507, allocations: 7.938 kB / 382.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.275e-05/0.005092, allocations: 11.92 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001016/0.005194, allocations: 117.1 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.686e-05/0.005271, allocations: 55.12 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.005289, allocations: 19.67 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.0053, allocations: 0 / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.005412, allocations: 64.98 kB / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.005413, allocations: 0 / 382.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001409/0.005553, allocations: 81.56 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.005577, allocations: 51.41 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.971e-05/0.005676, allocations: 218.5 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.005688, allocations: 29.7 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.005734, allocations: 150.8 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.005757, allocations: 19.89 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.426e-05/0.005782, allocations: 27.36 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.005963, allocations: 0.4962 MB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.341e-05/0.005977, allocations: 8 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.298e-05/0.006, allocations: 27.31 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.422e-05/0.006034, allocations: 31.36 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.006035, allocations: 4 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.6e-05/0.006101, allocations: 65.83 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/0.00611, allocations: 4 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.626e-06/0.006114, allocations: 4.094 kB / 384 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.006127, allocations: 11.94 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.231e-05/0.006169, allocations: 8 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.825e-06/0.006172, allocations: 0 / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.709e-05/0.006199, allocations: 11.94 kB / 384 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.466e-06/0.006203, allocations: 0 / 384 MB, free: 12.6 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.471e-05/0.006267, allocations: 160.6 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.006278, allocations: 7.953 kB / 384.2 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.454e-05/0.006373, allocations: 82.92 kB / 384.3 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.006378, allocations: 7.938 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.006379, allocations: 4 kB / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.006383, allocations: 0 / 384.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.204e-05/0.006465, allocations: 125.1 kB / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.006466, allocations: 0 / 384.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.399e-05/0.00648, allocations: 7.938 kB / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.006481, allocations: 0 / 384.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.006487, allocations: 4 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.006489, allocations: 3.984 kB / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006489, allocations: 0 / 384.4 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.099e-05/0.00657, allocations: 120.2 kB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.185e-05/0.006582, allocations: 7.953 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.324e-05/0.006596, allocations: 4 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.797e-05/0.006614, allocations: 4 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.006632, allocations: 3.984 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.006643, allocations: 11.94 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.373e-05/0.006697, allocations: 151.8 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006697, allocations: 0 / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001275/0.006824, allocations: 23.98 kB / 384.8 MB, free: 11.82 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.0007482/0.007572, allocations: 390.9 kB / 385.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.101e-05/0.007643, allocations: 39.61 kB / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.31e-07/0.007644, allocations: 0 / 385.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.199e-05/0.007666, allocations: 15.69 kB / 385.2 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.007815, allocations: 31.97 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.008052, allocations: 190.3 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.034e-05/0.008082, allocations: 67.28 kB / 385.5 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.508e-05/0.008107, allocations: 12.48 kB / 385.5 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.008301, allocations: 86.19 kB / 385.6 MB, free: 11.08 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008302, allocations: 7.938 kB / 385.6 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003075/0.01138, allocations: 1.767 MB / 387.3 MB, free: 9.332 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.1523156869225204]