Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 177.8 kB / 17.41 MB, free: 4.285 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.312/1.312, allocations: 225.7 MB / 243.9 MB, free: 10.2 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.0008008/0.0008008, allocations: 97.55 kB / 295.1 MB, free: 9.723 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.3576/0.3576, allocations: 44.32 MB / 390.5 MB, free: 38.25 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000325/0.000325, allocations: 20 kB / 463.2 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3736, allocations: 61.89 MB / 0.5127 GB, free: 38.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.001914/0.3755, allocations: 1.406 MB / 0.5141 GB, free: 37.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3767, allocations: 0.8867 MB / 0.515 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.3768, allocations: 2.875 kB / 0.515 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002828/0.3771, allocations: 34.33 kB / 0.515 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.3773, allocations: 48.67 kB / 0.5151 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.3776, allocations: 97.66 kB / 0.5152 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.3777, allocations: 100.2 kB / 0.5153 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.3778, allocations: 7.25 kB / 0.5153 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.997e-05/0.3779, allocations: 36.03 kB / 0.5153 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.175e-05/0.378, allocations: 36.39 kB / 0.5153 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.378, allocations: 2.844 kB / 0.5153 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.03e-05/0.3781, allocations: 34.5 kB / 0.5154 GB, free: 36.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.963e-05/0.3782, allocations: 24.64 kB / 0.5154 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.3783, allocations: 58.16 kB / 0.5154 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.3784, allocations: 104.1 kB / 0.5155 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3785, allocations: 0 / 0.5155 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3785, allocations: 0 / 0.5155 GB, free: 36.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.3785, allocations: 0 / 0.5155 GB, free: 36.14 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.0005193/0.379, allocations: 395.2 kB / 0.5159 GB, free: 35.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3791, allocations: 8.75 kB / 0.5159 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.3791, allocations: 10.88 kB / 0.5159 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.3793, allocations: 217 kB / 0.5161 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.3794, allocations: 3.406 kB / 0.5161 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.506e-05/0.3794, allocations: 4.125 kB / 0.5162 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.3796, allocations: 55.3 kB / 0.5162 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3796, allocations: 2.906 kB / 0.5162 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3796, allocations: 0 / 0.5162 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.3796, allocations: 0 / 0.5162 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/0.3797, allocations: 22.89 kB / 0.5162 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.3801, allocations: 288.5 kB / 0.5165 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.3802, allocations: 55.7 kB / 0.5166 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.3803, allocations: 20.89 kB / 0.5166 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.3803, allocations: 1.188 kB / 0.5166 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001959/0.3805, allocations: 74.44 kB / 0.5166 GB, free: 35.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 3.327e-06/0.3805, allocations: 0 / 0.5166 GB, free: 35.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005157/0.3811, allocations: 184.5 kB / 0.5168 GB, free: 34.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.3811, allocations: 51.41 kB / 0.5169 GB, free: 34.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.3812, allocations: 182.7 kB / 0.517 GB, free: 34.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3813, allocations: 32.73 kB / 0.5171 GB, free: 34.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.3813, allocations: 98.27 kB / 0.5172 GB, free: 34.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.3813, allocations: 28.61 kB / 0.5172 GB, free: 34.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.3813, allocations: 4 kB / 0.5172 GB, free: 34.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.537e-05/0.3814, allocations: 325.1 kB / 0.5175 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.06e-05/0.3815, allocations: 22.73 kB / 0.5175 GB, free: 34.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.455e-05/0.3815, allocations: 36.89 kB / 0.5176 GB, free: 34.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.316e-05/0.3816, allocations: 62.39 kB / 0.5176 GB, free: 34.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3816, allocations: 0 / 0.5176 GB, free: 34.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001482/0.3818, allocations: 99.08 kB / 0.5177 GB, free: 34.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3818, allocations: 7.719 kB / 0.5177 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3818, allocations: 0 / 0.5177 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3818, allocations: 0 / 0.5177 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.3819, allocations: 16.33 kB / 0.5177 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.382, allocations: 2.906 kB / 0.5178 GB, free: 34.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.779e-05/0.382, allocations: 10.88 kB / 0.5178 GB, free: 34.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.382, allocations: 2.875 kB / 0.5178 GB, free: 34.16 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.896e-05/0.3821, allocations: 126.5 kB / 0.5179 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.665e-05/0.3821, allocations: 10.72 kB / 0.5179 GB, free: 34.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/0.3822, allocations: 18.31 kB / 0.5179 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3822, allocations: 0 / 0.5179 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3822, allocations: 2.781 kB / 0.5179 GB, free: 34.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3822, allocations: 3.938 kB / 0.5179 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.3826, allocations: 394 kB / 0.5183 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3826, allocations: 0 / 0.5183 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.976e-05/0.3826, allocations: 16 kB / 0.5183 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3826, allocations: 2.625 kB / 0.5183 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.3827, allocations: 3.938 kB / 0.5183 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3827, allocations: 2.719 kB / 0.5183 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3827, allocations: 0 / 0.5183 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.3829, allocations: 200 kB / 0.5185 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.914e-05/0.3829, allocations: 97.95 kB / 0.5186 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.3829, allocations: 7.938 kB / 0.5186 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.383, allocations: 6.875 kB / 0.5186 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.3831, allocations: 6.188 kB / 0.5186 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3831, allocations: 2.969 kB / 0.5186 GB, free: 33.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.3832, allocations: 154 kB / 0.5188 GB, free: 33.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3832, allocations: 0 / 0.5188 GB, free: 33.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.3834, allocations: 22.88 kB / 0.5188 GB, free: 33.26 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.001057/0.3845, allocations: 0.5263 MB / 0.5193 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.3847, allocations: 60.08 kB / 0.5194 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3847, allocations: 0 / 0.5194 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.173e-05/0.3848, allocations: 24.97 kB / 0.5194 GB, free: 32.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.3851, allocations: 31.7 kB / 0.5194 GB, free: 32.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004212/0.3855, allocations: 242.4 kB / 0.5197 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001431/0.3857, allocations: 0.7105 MB / 0.5203 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.378e-05/0.3858, allocations: 17.41 kB / 0.5204 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.3858, allocations: 17.73 kB / 0.5204 GB, free: 32.01 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3858, allocations: 0 / 0.5204 GB, free: 32.01 MB / 378.7 MB Notification: Performance of Templates: time 0.00431/0.3901, allocations: 1.613 MB / 0.522 GB, free: 31.82 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches