Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001937, allocations: 186.9 kB / 17.97 MB, free: 3.793 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241.6 MB, free: 10.96 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 116.3 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3853/0.3853, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 51.92 kB / 457.7 MB, free: 2.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3268, allocations: 60.81 MB / 0.5064 GB, free: 38.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002678/0.3295, allocations: 1.759 MB / 0.5081 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.3306, allocations: 0.8674 MB / 0.509 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.3307, allocations: 6.625 kB / 0.509 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.331, allocations: 34.52 kB / 0.509 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.3312, allocations: 47.36 kB / 0.509 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.3315, allocations: 92.23 kB / 0.5091 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001672/0.3317, allocations: 93.61 kB / 0.5092 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3318, allocations: 17.23 kB / 0.5092 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.846e-05/0.3319, allocations: 40.05 kB / 0.5093 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.418e-05/0.332, allocations: 31.19 kB / 0.5093 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.332, allocations: 2.844 kB / 0.5093 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-05/0.3321, allocations: 45.08 kB / 0.5094 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.3322, allocations: 17.28 kB / 0.5094 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.031e-05/0.3322, allocations: 32.44 kB / 0.5094 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.3324, allocations: 107.5 kB / 0.5095 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3324, allocations: 0 / 0.5095 GB, free: 36.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3325, allocations: 0 / 0.5095 GB, free: 36.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.3325, allocations: 0 / 0.5095 GB, free: 36.22 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005261/0.333, allocations: 414.5 kB / 0.5099 GB, free: 35.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.333, allocations: 8.156 kB / 0.5099 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.3331, allocations: 10.38 kB / 0.5099 GB, free: 35.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.3333, allocations: 213 kB / 0.5101 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.3333, allocations: 2.969 kB / 0.5101 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.3333, allocations: 10.12 kB / 0.5101 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.3335, allocations: 55.2 kB / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.3335, allocations: 0 / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3335, allocations: 2.875 kB / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3335, allocations: 0 / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.841e-05/0.3336, allocations: 20.34 kB / 0.5102 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.3339, allocations: 290.5 kB / 0.5105 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.3341, allocations: 58.47 kB / 0.5105 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.3341, allocations: 19.33 kB / 0.5106 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3342, allocations: 4 kB / 0.5106 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.3343, allocations: 67.86 kB / 0.5106 GB, free: 35.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.515e-06/0.3343, allocations: 0 / 0.5106 GB, free: 35.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004589/0.3348, allocations: 176.2 kB / 0.5108 GB, free: 35.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.3348, allocations: 51.41 kB / 0.5108 GB, free: 34.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.335, allocations: 186.6 kB / 0.511 GB, free: 34.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.576e-06/0.335, allocations: 25.7 kB / 0.511 GB, free: 34.83 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.335, allocations: 113.1 kB / 0.5112 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.335, allocations: 26.09 kB / 0.5112 GB, free: 34.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.3351, allocations: 22.34 kB / 0.5112 GB, free: 34.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.061e-05/0.3351, allocations: 328.9 kB / 0.5115 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.09e-05/0.3352, allocations: 23.08 kB / 0.5115 GB, free: 34.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.518e-05/0.3353, allocations: 36.44 kB / 0.5116 GB, free: 34.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.021e-05/0.3354, allocations: 59.33 kB / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3354, allocations: 0 / 0.5116 GB, free: 34.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001451/0.3355, allocations: 101 kB / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3355, allocations: 5.688 kB / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3355, allocations: 0 / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3356, allocations: 3.031 kB / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.3356, allocations: 14.95 kB / 0.5117 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3357, allocations: 2.906 kB / 0.5118 GB, free: 34.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.145e-05/0.3357, allocations: 11.91 kB / 0.5118 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3357, allocations: 6.875 kB / 0.5118 GB, free: 34.22 MB / 378.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 (10): * Single equations (assignments): 10 * 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.651e-05/0.3358, allocations: 124.6 kB / 0.5119 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.3358, allocations: 10.81 kB / 0.5119 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4e-05/0.3359, allocations: 17.91 kB / 0.5119 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3359, allocations: 0 / 0.5119 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3359, allocations: 384 / 0.5119 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3359, allocations: 10.89 kB / 0.5119 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.3362, allocations: 392.3 kB / 0.5123 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3362, allocations: 6.906 kB / 0.5123 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.814e-05/0.3363, allocations: 5.719 kB / 0.5123 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3363, allocations: 2.875 kB / 0.5123 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.3363, allocations: 3.938 kB / 0.5123 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3363, allocations: 0 / 0.5123 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3363, allocations: 3.031 kB / 0.5123 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.3366, allocations: 0.7856 MB / 0.5131 GB, free: 32.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.3367, allocations: 91.27 kB / 0.5132 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.3367, allocations: 2.844 kB / 0.5132 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.471e-05/0.3368, allocations: 7.938 kB / 0.5132 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.3368, allocations: 9.875 kB / 0.5132 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.3368, allocations: 5.094 kB / 0.5132 GB, free: 32.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.892e-05/0.3369, allocations: 151.2 kB / 0.5133 GB, free: 32.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3369, allocations: 0 / 0.5133 GB, free: 32.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003396/0.3373, allocations: 27.66 kB / 0.5134 GB, free: 32.73 MB / 378.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: 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 (8): * Single equations (assignments): 6 * 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.0008783/0.3382, allocations: 466.6 kB / 0.5138 GB, free: 32.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001606/0.3383, allocations: 59.88 kB / 0.5139 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3383, allocations: 0 / 0.5139 GB, free: 32.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.484e-05/0.3384, allocations: 29.3 kB / 0.5139 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.3388, allocations: 32.25 kB / 0.5139 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004904/0.3393, allocations: 371.9 kB / 0.5143 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.3394, allocations: 0.7046 MB / 0.515 GB, free: 31.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.677e-05/0.3395, allocations: 20.97 kB / 0.515 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.636e-05/0.3395, allocations: 20.12 kB / 0.515 GB, free: 31.44 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3395, allocations: 0 / 0.515 GB, free: 31.44 MB / 378.7 MB Notification: Performance of Templates: time 0.004074/0.3436, allocations: 1.673 MB / 0.5166 GB, free: 31.25 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches