Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009187/0.0009186, allocations: 178.2 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.353/1.353, allocations: 225.7 MB / 243.9 MB, free: 8.473 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.0007416/0.0007417, allocations: 84.36 kB / 295 MB, free: 9.52 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.352/0.352, allocations: 44.32 MB / 390.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 16 kB / 463.2 MB, free: 496 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3787, allocations: 61.9 MB / 0.5128 GB, free: 37.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.001878/0.3806, allocations: 1.396 MB / 0.5141 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3818, allocations: 0.8988 MB / 0.515 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.678e-05/0.3819, allocations: 3 kB / 0.515 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.3822, allocations: 29.23 kB / 0.515 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.3824, allocations: 50.69 kB / 0.5151 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.3826, allocations: 98.27 kB / 0.5152 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.3828, allocations: 94.69 kB / 0.5153 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.701e-05/0.3829, allocations: 10.17 kB / 0.5153 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.528e-05/0.383, allocations: 39.11 kB / 0.5153 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.383, allocations: 31.08 kB / 0.5153 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.3831, allocations: 2.75 kB / 0.5153 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.722e-05/0.3832, allocations: 44.03 kB / 0.5154 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.233e-05/0.3832, allocations: 13.22 kB / 0.5154 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.3833, allocations: 61.53 kB / 0.5154 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.3835, allocations: 108.2 kB / 0.5156 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3835, allocations: 0 / 0.5156 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3835, allocations: 0 / 0.5156 GB, free: 36.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3835, allocations: 0 / 0.5156 GB, free: 36.02 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.0004687/0.384, allocations: 397.1 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.384, allocations: 8.094 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.384, allocations: 14.22 kB / 0.5159 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.3842, allocations: 203.6 kB / 0.5161 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.3843, allocations: 6.781 kB / 0.5162 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.3843, allocations: 6.656 kB / 0.5162 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.3844, allocations: 55.66 kB / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3845, allocations: 0 / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.3845, allocations: 0 / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.3845, allocations: 2.625 kB / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.922e-05/0.3846, allocations: 19.23 kB / 0.5162 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.3849, allocations: 292.4 kB / 0.5165 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.385, allocations: 56.34 kB / 0.5166 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.3851, allocations: 20.95 kB / 0.5166 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.3851, allocations: 0 / 0.5166 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.3853, allocations: 72.61 kB / 0.5167 GB, free: 34.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.3853, allocations: 3.938 kB / 0.5167 GB, free: 34.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004864/0.3858, allocations: 173.5 kB / 0.5168 GB, free: 34.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.3858, allocations: 51.41 kB / 0.5169 GB, free: 34.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.386, allocations: 185.6 kB / 0.517 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.386, allocations: 25.7 kB / 0.5171 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.386, allocations: 102 kB / 0.5172 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.3861, allocations: 30.45 kB / 0.5172 GB, free: 34.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.3861, allocations: 6.938 kB / 0.5172 GB, free: 34.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.474e-05/0.3861, allocations: 325.3 kB / 0.5175 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.934e-05/0.3862, allocations: 20.03 kB / 0.5175 GB, free: 34.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.038e-05/0.3863, allocations: 35.7 kB / 0.5176 GB, free: 34.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.17e-05/0.3864, allocations: 56.8 kB / 0.5176 GB, free: 34.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.3864, allocations: 4 kB / 0.5176 GB, free: 34.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001441/0.3865, allocations: 101.5 kB / 0.5177 GB, free: 34.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3865, allocations: 5.906 kB / 0.5177 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.82e-06/0.3865, allocations: 4.062 kB / 0.5177 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3866, allocations: 2.875 kB / 0.5177 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.688e-05/0.3867, allocations: 19.03 kB / 0.5178 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.3867, allocations: 0 / 0.5178 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.3867, allocations: 6.969 kB / 0.5178 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3867, allocations: 2.906 kB / 0.5178 GB, free: 34.05 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 7.663e-05/0.3868, allocations: 134.4 kB / 0.5179 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.676e-05/0.3868, allocations: 13.28 kB / 0.5179 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.3869, allocations: 17.59 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3869, allocations: 0 / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3869, allocations: 2.625 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3869, allocations: 3.938 kB / 0.5179 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003348/0.3873, allocations: 386.6 kB / 0.5183 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3873, allocations: 4.031 kB / 0.5183 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.557e-05/0.3873, allocations: 13.86 kB / 0.5183 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3873, allocations: 0.8438 kB / 0.5183 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3873, allocations: 7.031 kB / 0.5183 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3873, allocations: 80 / 0.5183 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3874, allocations: 4.734 kB / 0.5183 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.3876, allocations: 204.6 kB / 0.5185 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.3876, allocations: 90.94 kB / 0.5186 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.3876, allocations: 14.12 kB / 0.5186 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.3877, allocations: 3.766 kB / 0.5186 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.942e-05/0.3878, allocations: 5.703 kB / 0.5186 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.3878, allocations: 4.344 kB / 0.5186 GB, free: 33.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001133/0.3879, allocations: 143.9 kB / 0.5188 GB, free: 33.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3879, allocations: 3.938 kB / 0.5188 GB, free: 33.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.3881, allocations: 22.09 kB / 0.5188 GB, free: 33.14 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.001081/0.3892, allocations: 0.5169 MB / 0.5193 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.3894, allocations: 59.25 kB / 0.5194 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3894, allocations: 9.062 kB / 0.5194 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.112e-05/0.3895, allocations: 28.41 kB / 0.5194 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.3898, allocations: 26.64 kB / 0.5194 GB, free: 32.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.3903, allocations: 247.2 kB / 0.5197 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.3904, allocations: 0.7028 MB / 0.5203 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.3905, allocations: 12.2 kB / 0.5204 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.3905, allocations: 21.16 kB / 0.5204 GB, free: 31.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3905, allocations: 0 / 0.5204 GB, free: 31.9 MB / 378.7 MB Notification: Performance of Templates: time 0.004058/0.3946, allocations: 1.628 MB / 0.522 GB, free: 31.71 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches