Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,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.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,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.Test84") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 174.2 kB / 17.41 MB, free: 4.41 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.282/1.282, allocations: 225.7 MB / 243.9 MB, free: 8.461 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.0007468/0.0007468, allocations: 99.03 kB / 295.1 MB, free: 9.496 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.3457/0.3457, allocations: 44.32 MB / 390.5 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 15.94 kB / 463.2 MB, free: 452 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.3813, allocations: 61.89 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.001633/0.383, allocations: 1.404 MB / 0.5141 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00158/0.3846, allocations: 1.551 MB / 0.5156 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.3847, allocations: 0 / 0.5156 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.3849, allocations: 33.39 kB / 0.5157 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.3851, allocations: 49.06 kB / 0.5157 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.3854, allocations: 100.8 kB / 0.5158 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.3855, allocations: 94.11 kB / 0.5159 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.3856, allocations: 12.77 kB / 0.5159 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.856e-05/0.3857, allocations: 45.48 kB / 0.5159 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.3859, allocations: 32.12 kB / 0.516 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.3859, allocations: 2.844 kB / 0.516 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.386, allocations: 52.38 kB / 0.516 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.3861, allocations: 10.16 kB / 0.516 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.3861, allocations: 56.97 kB / 0.5161 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001952/0.3863, allocations: 125 kB / 0.5162 GB, free: 35.44 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3863, allocations: 0 / 0.5162 GB, free: 35.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3863, allocations: 3.094 kB / 0.5162 GB, free: 35.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.3864, allocations: 0 / 0.5162 GB, free: 35.44 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.0004696/0.3868, allocations: 385.9 kB / 0.5166 GB, free: 35.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.3869, allocations: 8.281 kB / 0.5166 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.3869, allocations: 14.41 kB / 0.5166 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.3871, allocations: 211.7 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3872, allocations: 384 / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.3872, allocations: 11.03 kB / 0.5168 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.3873, allocations: 72.81 kB / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3874, allocations: 2.906 kB / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.3874, allocations: 0 / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3874, allocations: 0 / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.138e-05/0.3875, allocations: 18.7 kB / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003136/0.3878, allocations: 284.3 kB / 0.5172 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.388, allocations: 54.81 kB / 0.5172 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/0.388, allocations: 27.11 kB / 0.5173 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.388, allocations: 0 / 0.5173 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.3882, allocations: 67.48 kB / 0.5173 GB, free: 34.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3882, allocations: 0 / 0.5173 GB, free: 34.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005056/0.3887, allocations: 168 kB / 0.5175 GB, free: 34.27 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.3888, allocations: 83.95 kB / 0.5176 GB, free: 34.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.3889, allocations: 152 kB / 0.5177 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.3889, allocations: 33.64 kB / 0.5177 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.389, allocations: 101.3 kB / 0.5178 GB, free: 33.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.389, allocations: 25.5 kB / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-06/0.389, allocations: 0 / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.443e-05/0.3891, allocations: 328.9 kB / 0.5182 GB, free: 33.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.882e-05/0.3891, allocations: 19.28 kB / 0.5182 GB, free: 33.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.62e-05/0.3892, allocations: 51.69 kB / 0.5182 GB, free: 33.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.225e-05/0.3893, allocations: 57.22 kB / 0.5183 GB, free: 33.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3893, allocations: 0 / 0.5183 GB, free: 33.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001481/0.3894, allocations: 101.2 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3895, allocations: 5.438 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3895, allocations: 0.9688 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3895, allocations: 0.9375 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.108e-05/0.3896, allocations: 16.38 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3896, allocations: 1 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.887e-05/0.3897, allocations: 10.94 kB / 0.5184 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3897, allocations: 5.312 kB / 0.5184 GB, free: 33.43 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.226e-05/0.3898, allocations: 129.4 kB / 0.5185 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.954e-05/0.3898, allocations: 8.281 kB / 0.5186 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.801e-05/0.3898, allocations: 15.66 kB / 0.5186 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3899, allocations: 1.188 kB / 0.5186 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3899, allocations: 384 / 0.5186 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3899, allocations: 5.125 kB / 0.5186 GB, free: 33.28 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.3903, allocations: 390.3 kB / 0.519 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3903, allocations: 0 / 0.519 GB, free: 32.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.3903, allocations: 13.36 kB / 0.519 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3903, allocations: 5.047 kB / 0.519 GB, free: 32.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3903, allocations: 5.672 kB / 0.519 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3904, allocations: 1.891 kB / 0.519 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3904, allocations: 1.625 kB / 0.519 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.3906, allocations: 208.5 kB / 0.5192 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.3907, allocations: 86.25 kB / 0.5193 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.3907, allocations: 14.44 kB / 0.5193 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3908, allocations: 3.812 kB / 0.5193 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.591e-05/0.3909, allocations: 8.266 kB / 0.5193 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.3909, allocations: 4.438 kB / 0.5193 GB, free: 32.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.391, allocations: 116.7 kB / 0.5194 GB, free: 32.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.391, allocations: 0 / 0.5194 GB, free: 32.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003942/0.3914, allocations: 40.25 kB / 0.5194 GB, free: 32.53 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.001606/0.3931, allocations: 0.5691 MB / 0.52 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.3933, allocations: 59.59 kB / 0.52 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3933, allocations: 0 / 0.52 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.258e-05/0.3934, allocations: 24.41 kB / 0.5201 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3938, allocations: 35.53 kB / 0.5201 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.3942, allocations: 211.9 kB / 0.5203 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.3944, allocations: 0.6998 MB / 0.521 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.344e-05/0.3945, allocations: 18.06 kB / 0.521 GB, free: 31.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.3945, allocations: 22.77 kB / 0.521 GB, free: 31.27 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3945, allocations: 0 / 0.521 GB, free: 31.27 MB / 378.7 MB Notification: Performance of Templates: time 0.004195/0.3987, allocations: 1.875 MB / 0.5229 GB, free: 31.05 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches