Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 179.2 kB / 17.41 MB, free: 4.262 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.319/1.319, allocations: 225.7 MB / 243.9 MB, free: 8.457 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.0007665/0.0007665, allocations: 97.64 kB / 295 MB, free: 9.492 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.3903/0.3903, allocations: 44.33 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002978, allocations: 8 kB / 463.1 MB, free: 460 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3825, allocations: 61.91 MB / 0.5127 GB, free: 38.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.001588/0.3842, allocations: 1.394 MB / 0.5141 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.3852, allocations: 0.9027 MB / 0.515 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.3853, allocations: 0 / 0.515 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002406/0.3855, allocations: 34.62 kB / 0.515 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.3857, allocations: 42.17 kB / 0.5151 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.3859, allocations: 100.7 kB / 0.5152 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000127/0.3861, allocations: 91.52 kB / 0.5152 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.586e-05/0.3862, allocations: 11.08 kB / 0.5153 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.306e-05/0.3862, allocations: 41.41 kB / 0.5153 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.462e-05/0.3863, allocations: 30.55 kB / 0.5153 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.3863, allocations: 2.031 kB / 0.5153 GB, free: 36.19 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.745e-05/0.3864, allocations: 34.84 kB / 0.5154 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.596e-05/0.3865, allocations: 22.92 kB / 0.5154 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.888e-05/0.3865, allocations: 49.7 kB / 0.5154 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.3867, allocations: 107.7 kB / 0.5155 GB, free: 36.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3867, allocations: 0 / 0.5155 GB, free: 36.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3867, allocations: 0 / 0.5155 GB, free: 36.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.3867, allocations: 4 kB / 0.5155 GB, free: 36.08 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.0003862/0.3871, allocations: 399.5 kB / 0.5159 GB, free: 35.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.3871, allocations: 9.062 kB / 0.5159 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.3872, allocations: 10.88 kB / 0.5159 GB, free: 35.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.3873, allocations: 202.2 kB / 0.5161 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.3874, allocations: 3.531 kB / 0.5161 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.3874, allocations: 7.156 kB / 0.5161 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.3875, allocations: 59.47 kB / 0.5162 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3875, allocations: 0 / 0.5162 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.3876, allocations: 0 / 0.5162 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.3876, allocations: 0 / 0.5162 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.417e-05/0.3876, allocations: 26.48 kB / 0.5162 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.3879, allocations: 285.8 kB / 0.5165 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.3881, allocations: 60.95 kB / 0.5166 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.203e-05/0.3881, allocations: 17.73 kB / 0.5166 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.3881, allocations: 7.172 kB / 0.5166 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001514/0.3883, allocations: 64.52 kB / 0.5166 GB, free: 35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.3883, allocations: 0 / 0.5166 GB, free: 35 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004581/0.3888, allocations: 178.3 kB / 0.5168 GB, free: 34.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.152e-05/0.3888, allocations: 55.41 kB / 0.5169 GB, free: 34.85 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3889, allocations: 169.3 kB / 0.517 GB, free: 34.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.3889, allocations: 29.7 kB / 0.5171 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.389, allocations: 93.3 kB / 0.5171 GB, free: 34.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.389, allocations: 21.97 kB / 0.5172 GB, free: 34.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.389, allocations: 6.844 kB / 0.5172 GB, free: 34.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.3891, allocations: 324.8 kB / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.931e-05/0.3891, allocations: 22.25 kB / 0.5175 GB, free: 34.26 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.896e-05/0.3892, allocations: 38.12 kB / 0.5175 GB, free: 34.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.927e-05/0.3893, allocations: 65.33 kB / 0.5176 GB, free: 34.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3893, allocations: 0 / 0.5176 GB, free: 34.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001407/0.3894, allocations: 101.6 kB / 0.5177 GB, free: 34.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.3894, allocations: 5.312 kB / 0.5177 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3895, allocations: 0 / 0.5177 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3895, allocations: 0 / 0.5177 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.3896, allocations: 20.55 kB / 0.5177 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3896, allocations: 6.688 kB / 0.5177 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.157e-05/0.3896, allocations: 10.53 kB / 0.5177 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.3896, allocations: 2.906 kB / 0.5177 GB, free: 34.11 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 6.576e-05/0.3897, allocations: 129.5 kB / 0.5179 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.3897, allocations: 6.719 kB / 0.5179 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.3898, allocations: 18.08 kB / 0.5179 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3898, allocations: 6.125 kB / 0.5179 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3898, allocations: 4 kB / 0.5179 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3898, allocations: 3.938 kB / 0.5179 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.3901, allocations: 380.7 kB / 0.5183 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3901, allocations: 2.656 kB / 0.5183 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.115e-05/0.3902, allocations: 17.03 kB / 0.5183 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3902, allocations: 2.594 kB / 0.5183 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.3902, allocations: 3.938 kB / 0.5183 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3902, allocations: 3.125 kB / 0.5183 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3902, allocations: 4.031 kB / 0.5183 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001584/0.3904, allocations: 192.8 kB / 0.5185 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.3904, allocations: 95.39 kB / 0.5186 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.3904, allocations: 9.656 kB / 0.5186 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.541e-05/0.3905, allocations: 2.5 kB / 0.5186 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.3905, allocations: 10.67 kB / 0.5186 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3905, allocations: 11.16 kB / 0.5186 GB, free: 33.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.777e-05/0.3906, allocations: 135.3 kB / 0.5187 GB, free: 33.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3906, allocations: 0 / 0.5187 GB, free: 33.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002236/0.3909, allocations: 20.56 kB / 0.5187 GB, free: 33.22 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.0009858/0.3919, allocations: 0.5239 MB / 0.5193 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001665/0.392, allocations: 52.61 kB / 0.5193 GB, free: 32.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.392, allocations: 3.938 kB / 0.5193 GB, free: 32.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.852e-05/0.3921, allocations: 31.95 kB / 0.5193 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.3924, allocations: 28.73 kB / 0.5194 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003885/0.3928, allocations: 230.4 kB / 0.5196 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.393, allocations: 0.7004 MB / 0.5203 GB, free: 32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.394e-05/0.393, allocations: 22.55 kB / 0.5203 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.3931, allocations: 17.8 kB / 0.5203 GB, free: 31.98 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.3931, allocations: 0 / 0.5203 GB, free: 31.98 MB / 378.7 MB Notification: Performance of Templates: time 0.003796/0.3969, allocations: 1.621 MB / 0.5219 GB, free: 31.79 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches