Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001924/0.001924, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002221/0.002221, allocations: 161.7 kB / 24.27 MB, free: 172 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.632/1.632, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.4335/0.4335, allocations: 32.8 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.662e-06/6.662e-06, allocations: 0 / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.979e-05/0.0001064, allocations: 6.25 kB / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.005357/0.005464, allocations: 1.677 MB / 377 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002185/0.007649, allocations: 0.9548 MB / 378 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.007786, allocations: 0 / 378 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004813/0.008268, allocations: 83.64 kB / 378.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005664/0.008834, allocations: 119.5 kB / 378.2 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.009175, allocations: 79.66 kB / 378.2 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.009493, allocations: 115.5 kB / 378.4 MB, free: 1.859 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.253e-05/0.009546, allocations: 4.234 kB / 378.4 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000192/0.009738, allocations: 55.83 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.009904, allocations: 55.86 kB / 378.5 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.009933, allocations: 4 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.01006, allocations: 35.88 kB / 378.5 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.191e-05/0.01015, allocations: 27.91 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.304e-05/0.01021, allocations: 19.92 kB / 378.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.01051, allocations: 119.6 kB / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.01052, allocations: 0 / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.01052, allocations: 0 / 378.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.01052, allocations: 4 kB / 378.7 MB, free: 1.539 MB / 346.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.0007105/0.01123, allocations: 337.6 kB / 379 MB, free: 1.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.01128, allocations: 12.03 kB / 379 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.823e-05/0.01136, allocations: 12.89 kB / 379 MB, free: 1.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004608/0.01182, allocations: 153.5 kB / 379.2 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.01184, allocations: 4.312 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.01185, allocations: 384 / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.01206, allocations: 58.23 kB / 379.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.01208, allocations: 3.938 kB / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.01209, allocations: 0 / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.0121, allocations: 0 / 379.2 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.0122, allocations: 19.98 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.01249, allocations: 125.3 kB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.01273, allocations: 58.55 kB / 379.4 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.667e-05/0.01281, allocations: 20.84 kB / 379.5 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.01283, allocations: 4 kB / 379.5 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002059/0.01304, allocations: 63.39 kB / 379.5 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.01304, allocations: 4 kB / 379.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003821/0.01342, allocations: 105.5 kB / 379.6 MB, free: 468 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.01347, allocations: 55.34 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003025/0.01378, allocations: 223.5 kB / 379.9 MB, free: 160 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.0138, allocations: 29.7 kB / 379.9 MB, free: 124 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.031e-05/0.0139, allocations: 108.1 kB / 380 MB, free: 12 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.759e-05/0.01396, allocations: 19.83 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.01401, allocations: 17.72 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002158/0.01423, allocations: 330.8 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.072e-05/0.01429, allocations: 15.98 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.182e-05/0.01436, allocations: 25.72 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001302/0.01449, allocations: 45.7 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01449, allocations: 0 / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000214/0.01471, allocations: 93.52 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.01473, allocations: 4 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.01473, allocations: 3.938 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.01476, allocations: 8.031 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.867e-05/0.01485, allocations: 12.25 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.01485, allocations: 0 / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.202e-05/0.01491, allocations: 11.98 kB / 380.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.01492, allocations: 0 / 380.6 MB, free: 15.4 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 0.0001407/0.01506, allocations: 125.8 kB / 380.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.0151, allocations: 19.89 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.01535, allocations: 98.77 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.01535, allocations: 0 / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01535, allocations: 0 / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01536, allocations: 4 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001794/0.01554, allocations: 141.3 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.01554, allocations: 3.984 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.35e-05/0.01557, allocations: 7.938 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.01558, allocations: 0 / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.01559, allocations: 4 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.01559, allocations: 3.938 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01559, allocations: 0 / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.01583, allocations: 121 kB / 381.1 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.208e-05/0.01585, allocations: 7.953 kB / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.01587, allocations: 0 / 381.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.449e-05/0.01592, allocations: 11.94 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.593e-05/0.01597, allocations: 11.92 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.01598, allocations: 4 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001821/0.01617, allocations: 169.1 kB / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01617, allocations: 0 / 381.3 MB, free: 14.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002452/0.01641, allocations: 23.92 kB / 381.4 MB, free: 14.6 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.002007/0.01842, allocations: 433 kB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.01859, allocations: 35.98 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.0186, allocations: 4.062 kB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.377e-05/0.01868, allocations: 27.92 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.01899, allocations: 30.88 kB / 381.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.01959, allocations: 243.1 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.01971, allocations: 92.3 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.786e-05/0.01977, allocations: 8.5 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.01981, allocations: 24.48 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01981, allocations: 0 / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of Templates: time 0.005895/0.02571, allocations: 1.658 MB / 383.9 MB, free: 12.23 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.182288510957733]