Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.686/1.686, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001102/0.001102, allocations: 114.5 kB / 291.9 MB, free: 10.92 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.3766/0.3766, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 59.91 kB / 457.8 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.327, allocations: 60.79 MB / 0.5064 GB, free: 38.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.002612/0.3297, allocations: 1.724 MB / 0.5081 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3309, allocations: 0.8514 MB / 0.5089 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.778e-05/0.331, allocations: 0 / 0.5089 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002825/0.3313, allocations: 52.16 kB / 0.509 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.3315, allocations: 50.45 kB / 0.509 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.3317, allocations: 96.47 kB / 0.5091 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001252/0.3318, allocations: 92.59 kB / 0.5092 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.451e-05/0.3319, allocations: 10.12 kB / 0.5092 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.036e-05/0.3319, allocations: 41.95 kB / 0.5092 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.751e-05/0.332, allocations: 26.66 kB / 0.5093 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.332, allocations: 7.281 kB / 0.5093 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.858e-05/0.3321, allocations: 32.19 kB / 0.5093 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.3322, allocations: 24.23 kB / 0.5093 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.3322, allocations: 35.44 kB / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.3324, allocations: 116.3 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3324, allocations: 0 / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.3324, allocations: 4 kB / 0.5095 GB, free: 36.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.3324, allocations: 0 / 0.5095 GB, free: 36.15 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004202/0.3328, allocations: 430.6 kB / 0.5099 GB, free: 35.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.3329, allocations: 8.25 kB / 0.5099 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.3329, allocations: 10.69 kB / 0.5099 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.3331, allocations: 216.4 kB / 0.5101 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.3331, allocations: 384 / 0.5101 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.3331, allocations: 6.688 kB / 0.5101 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.3332, allocations: 54.77 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3332, allocations: 0 / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.3333, allocations: 3.188 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3333, allocations: 0 / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.295e-05/0.3333, allocations: 16.09 kB / 0.5102 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.3335, allocations: 187.7 kB / 0.5104 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.3336, allocations: 57.48 kB / 0.5104 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.3337, allocations: 26.48 kB / 0.5104 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.3337, allocations: 0 / 0.5104 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.3339, allocations: 64.27 kB / 0.5105 GB, free: 35.14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.3339, allocations: 0 / 0.5105 GB, free: 35.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002404/0.3341, allocations: 97.62 kB / 0.5106 GB, free: 35.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.3341, allocations: 55.41 kB / 0.5107 GB, free: 35.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.3343, allocations: 266.1 kB / 0.5109 GB, free: 34.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.3343, allocations: 28.61 kB / 0.5109 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.84e-05/0.3344, allocations: 109.3 kB / 0.511 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.3344, allocations: 10.25 kB / 0.5111 GB, free: 34.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.3344, allocations: 23.08 kB / 0.5111 GB, free: 34.71 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.321e-05/0.3345, allocations: 325 kB / 0.5114 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.3346, allocations: 15.86 kB / 0.5114 GB, free: 34.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.3346, allocations: 33.77 kB / 0.5114 GB, free: 34.36 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.971e-05/0.3347, allocations: 46.52 kB / 0.5115 GB, free: 34.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3347, allocations: 7.031 kB / 0.5115 GB, free: 34.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001256/0.3348, allocations: 80.94 kB / 0.5116 GB, free: 34.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.3349, allocations: 9.781 kB / 0.5116 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3349, allocations: 3.281 kB / 0.5116 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.3349, allocations: 6.75 kB / 0.5116 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/0.335, allocations: 16.75 kB / 0.5116 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.335, allocations: 4.031 kB / 0.5116 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.129e-05/0.335, allocations: 2.844 kB / 0.5116 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.335, allocations: 6.109 kB / 0.5116 GB, free: 34.25 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 (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 7.371e-05/0.3351, allocations: 136.8 kB / 0.5117 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.3351, allocations: 17.53 kB / 0.5118 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.3352, allocations: 20.92 kB / 0.5118 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.3352, allocations: 0 / 0.5118 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3352, allocations: 0 / 0.5118 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3352, allocations: 0 / 0.5118 GB, free: 34.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.553e-05/0.3353, allocations: 202.2 kB / 0.512 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3353, allocations: 0 / 0.512 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.938e-05/0.3353, allocations: 5.781 kB / 0.512 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3353, allocations: 0 / 0.512 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.3353, allocations: 0 / 0.512 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3354, allocations: 0 / 0.512 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3354, allocations: 0 / 0.512 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003402/0.3357, allocations: 0.7007 MB / 0.5127 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.988e-05/0.3358, allocations: 87.89 kB / 0.5127 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.3358, allocations: 3.938 kB / 0.5127 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.3358, allocations: 6.172 kB / 0.5127 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.3359, allocations: 3.031 kB / 0.5128 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.3359, allocations: 7.938 kB / 0.5128 GB, free: 33.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000113/0.336, allocations: 203.8 kB / 0.513 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.336, allocations: 0 / 0.513 GB, free: 32.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002909/0.3363, allocations: 22.16 kB / 0.513 GB, free: 32.97 MB / 378.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.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0008249/0.3371, allocations: 410.8 kB / 0.5134 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.3373, allocations: 35.19 kB / 0.5134 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3373, allocations: 0 / 0.5134 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.619e-05/0.3374, allocations: 27.3 kB / 0.5134 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.3376, allocations: 20.88 kB / 0.5134 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.3381, allocations: 395.5 kB / 0.5138 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.3382, allocations: 0.7142 MB / 0.5145 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.257e-05/0.3383, allocations: 16.91 kB / 0.5145 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.3383, allocations: 17.06 kB / 0.5146 GB, free: 31.74 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3383, allocations: 3.938 kB / 0.5146 GB, free: 31.74 MB / 378.7 MB Notification: Performance of Templates: time 0.00372/0.3421, allocations: 1.483 MB / 0.516 GB, free: 31.55 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches