Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009949/0.000995, allocations: 178.4 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.7 MB / 243.9 MB, free: 8.434 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009002/0.0009002, allocations: 90.56 kB / 295 MB, free: 9.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3269/0.3269, allocations: 44.32 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002752/0.0002752, allocations: 12 kB / 463.2 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3155, allocations: 61.9 MB / 0.5127 GB, free: 37.94 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.001545/0.3171, allocations: 1.403 MB / 0.5141 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.3182, allocations: 0.8956 MB / 0.515 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.3182, allocations: 0 / 0.515 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002556/0.3185, allocations: 39.03 kB / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.3187, allocations: 51.23 kB / 0.5151 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.3189, allocations: 91.53 kB / 0.5152 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.319, allocations: 95.56 kB / 0.5153 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.924e-05/0.3191, allocations: 4.141 kB / 0.5153 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.917e-05/0.3192, allocations: 46.44 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.3193, allocations: 36.77 kB / 0.5153 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.3193, allocations: 2.906 kB / 0.5153 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.823e-05/0.3194, allocations: 35.33 kB / 0.5154 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.748e-05/0.3194, allocations: 23.45 kB / 0.5154 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.3195, allocations: 58.17 kB / 0.5155 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.3196, allocations: 108.6 kB / 0.5156 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3196, allocations: 0 / 0.5156 GB, free: 35.99 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3196, allocations: 0 / 0.5156 GB, free: 35.99 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.3196, allocations: 3.938 kB / 0.5156 GB, free: 35.98 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.0003852/0.32, allocations: 395.8 kB / 0.5159 GB, free: 35.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3201, allocations: 11.97 kB / 0.5159 GB, free: 35.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.3201, allocations: 15.05 kB / 0.516 GB, free: 35.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.3203, allocations: 205.1 kB / 0.5162 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.3203, allocations: 7.281 kB / 0.5162 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.53e-05/0.3203, allocations: 7.094 kB / 0.5162 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.3205, allocations: 55.11 kB / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.3205, allocations: 0 / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3205, allocations: 0 / 0.5162 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.3205, allocations: 3.938 kB / 0.5162 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.579e-05/0.3206, allocations: 23.22 kB / 0.5163 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.3209, allocations: 288.6 kB / 0.5165 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.321, allocations: 57.7 kB / 0.5166 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.401e-05/0.3211, allocations: 25.03 kB / 0.5166 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.3211, allocations: 4 kB / 0.5166 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.3213, allocations: 72.06 kB / 0.5167 GB, free: 34.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3213, allocations: 0 / 0.5167 GB, free: 34.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004809/0.3218, allocations: 167.1 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.3218, allocations: 51.41 kB / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.322, allocations: 200 kB / 0.5171 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.322, allocations: 25.7 kB / 0.5171 GB, free: 34.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/0.322, allocations: 112.7 kB / 0.5172 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.3221, allocations: 25.83 kB / 0.5172 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.3221, allocations: 2.469 kB / 0.5172 GB, free: 34.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.719e-05/0.3221, allocations: 324.4 kB / 0.5175 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/0.3222, allocations: 22.06 kB / 0.5176 GB, free: 34.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.589e-05/0.3222, allocations: 33.44 kB / 0.5176 GB, free: 34.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.382e-05/0.3223, allocations: 70.34 kB / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3224, allocations: 0 / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001567/0.3225, allocations: 102.7 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3225, allocations: 6.312 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3225, allocations: 0 / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3226, allocations: 1.188 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.977e-05/0.3227, allocations: 15.19 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.3227, allocations: 2.094 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.58e-05/0.3227, allocations: 7.344 kB / 0.5178 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.3227, allocations: 10.72 kB / 0.5178 GB, free: 33.99 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 8.004e-05/0.3228, allocations: 123.1 kB / 0.5179 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.3228, allocations: 17.69 kB / 0.5179 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.3229, allocations: 16.3 kB / 0.518 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3229, allocations: 1.969 kB / 0.518 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3229, allocations: 0.5625 kB / 0.518 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3229, allocations: 12.52 kB / 0.518 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.3233, allocations: 390.6 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3233, allocations: 1.656 kB / 0.5183 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/0.3234, allocations: 12.39 kB / 0.5184 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.3234, allocations: 1.781 kB / 0.5184 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3234, allocations: 9.641 kB / 0.5184 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3234, allocations: 1.312 kB / 0.5184 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3234, allocations: 1.844 kB / 0.5184 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.3236, allocations: 196 kB / 0.5186 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.3236, allocations: 94.67 kB / 0.5186 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.3237, allocations: 5.484 kB / 0.5187 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.789e-05/0.3237, allocations: 4.281 kB / 0.5187 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.3238, allocations: 9.875 kB / 0.5187 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.3238, allocations: 7.641 kB / 0.5187 GB, free: 33.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.3239, allocations: 148.6 kB / 0.5188 GB, free: 33.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3239, allocations: 0 / 0.5188 GB, free: 33.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000238/0.3242, allocations: 30.27 kB / 0.5188 GB, free: 33.11 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.0009464/0.3251, allocations: 0.523 MB / 0.5194 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001601/0.3253, allocations: 60.39 kB / 0.5194 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3253, allocations: 0 / 0.5194 GB, free: 32.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.175e-05/0.3254, allocations: 28.36 kB / 0.5194 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.3257, allocations: 24.28 kB / 0.5195 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003416/0.326, allocations: 268.3 kB / 0.5197 GB, free: 32.56 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.3262, allocations: 0.7026 MB / 0.5204 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.832e-05/0.3262, allocations: 14.47 kB / 0.5204 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.3263, allocations: 25.81 kB / 0.5204 GB, free: 31.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3263, allocations: 1.312 kB / 0.5204 GB, free: 31.85 MB / 378.7 MB Notification: Performance of Templates: time 0.003617/0.3299, allocations: 1.628 MB / 0.522 GB, free: 31.66 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches