Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.00138/0.00138, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001525/0.001525, allocations: 161.6 kB / 24.26 MB, free: 176 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.669/1.669, allocations: 177.2 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.3414/0.3414, allocations: 34.27 MB / 295.3 MB, free: 0.6953 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 377.4 MB, free: 2.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.284e-05, allocations: 2.312 kB / 377.4 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003726/0.003759, allocations: 1.797 MB / 379.2 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.006855, allocations: 1.749 MB / 380.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.302e-05/0.006948, allocations: 4 kB / 380.9 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003659/0.007314, allocations: 55.61 kB / 381 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004931/0.007807, allocations: 151.2 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.008086, allocations: 103.6 kB / 381.2 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000328/0.008414, allocations: 215.2 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.988e-05/0.008463, allocations: 5.812 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.008661, allocations: 111.7 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.008859, allocations: 63.8 kB / 381.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.008893, allocations: 12 kB / 381.6 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002275/0.00912, allocations: 103.8 kB / 381.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.151e-05/0.009202, allocations: 35.84 kB / 381.8 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.607e-05/0.009278, allocations: 35.86 kB / 381.8 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.009682, allocations: 239.2 kB / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.009686, allocations: 4 kB / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.009688, allocations: 0 / 382 MB, free: 14.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.009693, allocations: 0 / 382 MB, free: 14.21 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.0008311/0.01052, allocations: 428.9 kB / 382.4 MB, free: 13.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.01057, allocations: 8.031 kB / 382.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.946e-05/0.01065, allocations: 20.84 kB / 382.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003748/0.01103, allocations: 189.5 kB / 382.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.01105, allocations: 4.375 kB / 382.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.01107, allocations: 4.375 kB / 382.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.01138, allocations: 165 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.01139, allocations: 3.938 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.01141, allocations: 0 / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.01142, allocations: 4 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.01155, allocations: 31.97 kB / 382.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002776/0.01183, allocations: 170 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.01214, allocations: 101.2 kB / 383.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.01226, allocations: 41.7 kB / 383.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.01228, allocations: 4 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002666/0.01255, allocations: 113 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.01255, allocations: 0 / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005645/0.01312, allocations: 177.4 kB / 383.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001184/0.01323, allocations: 136.5 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003535/0.01359, allocations: 248.1 kB / 383.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.01362, allocations: 29.7 kB / 383.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.01372, allocations: 120.1 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.01378, allocations: 23.84 kB / 384 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-05/0.01384, allocations: 37.7 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.01404, allocations: 326.8 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.86e-05/0.01414, allocations: 31.92 kB / 384.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.01431, allocations: 124.5 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.01453, allocations: 95.84 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.01454, allocations: 7.969 kB / 384.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003515/0.01489, allocations: 149.5 kB / 384.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.0149, allocations: 5.875 kB / 384.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.01491, allocations: 7.938 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/0.01493, allocations: 0 / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.01507, allocations: 31.92 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.01508, allocations: 3.984 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.01517, allocations: 7.938 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.01518, allocations: 4 kB / 384.8 MB, free: 11.14 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001383/0.01532, allocations: 133.9 kB / 385 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.01538, allocations: 27.86 kB / 385 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004032/0.01578, allocations: 166.7 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.01578, allocations: 0 / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.01579, allocations: 4 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.0158, allocations: 0 / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.016, allocations: 161.2 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.016, allocations: 0 / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.01605, allocations: 12.23 kB / 385.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01605, allocations: 7.938 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.01607, allocations: 12 kB / 385.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.01607, allocations: 3.938 kB / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01607, allocations: 0 / 385.3 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003813/0.01645, allocations: 189.7 kB / 385.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.01649, allocations: 19.89 kB / 385.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.01653, allocations: 7.984 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.931e-05/0.01663, allocations: 11.94 kB / 385.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.01668, allocations: 7.984 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.0167, allocations: 4 kB / 385.6 MB, free: 10.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002329/0.01693, allocations: 193.8 kB / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01693, allocations: 0 / 385.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003192/0.01725, allocations: 55.86 kB / 385.8 MB, free: 10.07 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.002613/0.01986, allocations: 0.5327 MB / 386.4 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.02016, allocations: 87.91 kB / 386.4 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02016, allocations: 0 / 386.4 MB, free: 9.672 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.02029, allocations: 43.91 kB / 386.5 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.02072, allocations: 70.41 kB / 386.5 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006696/0.02139, allocations: 301.9 kB / 386.8 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.02152, allocations: 107.6 kB / 386.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.02163, allocations: 29.98 kB / 387 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.02171, allocations: 36.47 kB / 387 MB, free: 9.051 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02171, allocations: 0 / 387 MB, free: 9.051 MB / 362.7 MB Notification: Performance of Templates: time 0.008175/0.02989, allocations: 3.424 MB / 390.4 MB, free: 5.676 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.021547893062234]