Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001306/0.001306, 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.472/1.472, allocations: 225.7 MB / 243.9 MB, free: 8.453 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.0008674/0.0008676, allocations: 95.55 kB / 295.1 MB, free: 9.484 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.3532/0.3532, allocations: 44.32 MB / 390.5 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.0003389, allocations: 12 kB / 463.1 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4173/0.4176, allocations: 61.91 MB / 0.5127 GB, free: 37.92 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.001611/0.4193, allocations: 1.402 MB / 0.5141 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.4204, allocations: 0.9006 MB / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.4205, allocations: 0 / 0.515 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002787/0.4208, allocations: 48.55 kB / 0.515 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.4209, allocations: 59.41 kB / 0.5151 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.4212, allocations: 94.8 kB / 0.5152 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.4213, allocations: 100.8 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.391e-05/0.4214, allocations: 10.05 kB / 0.5153 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.371e-05/0.4215, allocations: 46.75 kB / 0.5153 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.23e-05/0.4216, allocations: 34.67 kB / 0.5154 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.4216, allocations: 0 / 0.5154 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.053e-05/0.4217, allocations: 37.88 kB / 0.5154 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.551e-05/0.4218, allocations: 25.7 kB / 0.5154 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.4218, allocations: 62.86 kB / 0.5155 GB, free: 36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.422, allocations: 135.7 kB / 0.5156 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.422, allocations: 0 / 0.5156 GB, free: 35.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.422, allocations: 4 kB / 0.5156 GB, free: 35.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.422, allocations: 3.938 kB / 0.5156 GB, free: 35.94 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.000497/0.4225, allocations: 421.4 kB / 0.516 GB, free: 35.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.4226, allocations: 10.81 kB / 0.516 GB, free: 35.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.4226, allocations: 10.19 kB / 0.516 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.4228, allocations: 225.1 kB / 0.5163 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.4229, allocations: 384 / 0.5163 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.4229, allocations: 6.75 kB / 0.5163 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.423, allocations: 60.98 kB / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.423, allocations: 0 / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.4231, allocations: 0 / 0.5163 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4231, allocations: 7.938 kB / 0.5163 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.414e-05/0.4231, allocations: 18.92 kB / 0.5164 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.4234, allocations: 298.7 kB / 0.5166 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.4236, allocations: 58.86 kB / 0.5167 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.625e-05/0.4237, allocations: 23.67 kB / 0.5167 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.4237, allocations: 0 / 0.5167 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.4239, allocations: 67.31 kB / 0.5168 GB, free: 34.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.4239, allocations: 0 / 0.5168 GB, free: 34.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005025/0.4244, allocations: 188 kB / 0.517 GB, free: 34.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.4244, allocations: 51.41 kB / 0.517 GB, free: 34.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.4246, allocations: 271 kB / 0.5173 GB, free: 34.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.4247, allocations: 29.7 kB / 0.5173 GB, free: 34.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.4247, allocations: 115.8 kB / 0.5174 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.4247, allocations: 22.53 kB / 0.5174 GB, free: 34.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.4248, allocations: 0 / 0.5174 GB, free: 34.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.257e-05/0.4248, allocations: 335.1 kB / 0.5177 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.132e-05/0.4249, allocations: 23.06 kB / 0.5178 GB, free: 34.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.4249, allocations: 36.23 kB / 0.5178 GB, free: 34.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.314e-05/0.425, allocations: 63.31 kB / 0.5179 GB, free: 33.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.425, allocations: 0 / 0.5179 GB, free: 33.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001498/0.4252, allocations: 106.9 kB / 0.518 GB, free: 33.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.4252, allocations: 8.484 kB / 0.518 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4252, allocations: 0.9688 kB / 0.518 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.4253, allocations: 8.969 kB / 0.518 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.773e-05/0.4253, allocations: 12.59 kB / 0.518 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4254, allocations: 1.25 kB / 0.518 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.744e-05/0.4254, allocations: 10.34 kB / 0.518 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.4254, allocations: 2.062 kB / 0.518 GB, free: 33.89 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 9.333e-05/0.4255, allocations: 134.4 kB / 0.5181 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.4256, allocations: 15 kB / 0.5182 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.831e-05/0.4256, allocations: 24.89 kB / 0.5182 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4256, allocations: 5.219 kB / 0.5182 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4256, allocations: 0 / 0.5182 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4256, allocations: 11.86 kB / 0.5182 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003522/0.426, allocations: 397.7 kB / 0.5186 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.426, allocations: 0 / 0.5186 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.426, allocations: 11.62 kB / 0.5186 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4261, allocations: 1.594 kB / 0.5186 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4261, allocations: 9.688 kB / 0.5186 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.4261, allocations: 8.5 kB / 0.5186 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.4261, allocations: 0 / 0.5186 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001898/0.4263, allocations: 200 kB / 0.5188 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.192e-05/0.4263, allocations: 97.09 kB / 0.5189 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.4264, allocations: 5.969 kB / 0.5189 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.962e-05/0.4264, allocations: 6.656 kB / 0.5189 GB, free: 33.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.988e-05/0.4265, allocations: 17.66 kB / 0.5189 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.4265, allocations: 4.219 kB / 0.5189 GB, free: 33.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001578/0.4267, allocations: 206.8 kB / 0.5191 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4267, allocations: 0 / 0.5191 GB, free: 32.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002327/0.4269, allocations: 23 kB / 0.5191 GB, free: 32.97 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.001076/0.428, allocations: 0.5222 MB / 0.5196 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.4282, allocations: 57.5 kB / 0.5197 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4282, allocations: 1.25 kB / 0.5197 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/0.4283, allocations: 32.12 kB / 0.5197 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.4286, allocations: 25.84 kB / 0.5198 GB, free: 32.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.4292, allocations: 333.7 kB / 0.5201 GB, free: 32.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002124/0.4294, allocations: 0.7182 MB / 0.5208 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.144e-05/0.4295, allocations: 13.23 kB / 0.5208 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.4295, allocations: 16.14 kB / 0.5208 GB, free: 31.69 MB / 378.7 MB Notification: Performance of SimCode: time 3.8e-07/0.4295, allocations: 1 kB / 0.5208 GB, free: 31.69 MB / 378.7 MB Notification: Performance of Templates: time 0.004235/0.4338, allocations: 1.659 MB / 0.5224 GB, free: 31.5 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches