Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 175.2 kB / 17.41 MB, free: 4.406 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.38/1.38, allocations: 225.7 MB / 243.9 MB, free: 10.19 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.0007901/0.0007902, allocations: 92.52 kB / 295 MB, free: 9.738 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.3947/0.3947, allocations: 44.32 MB / 390.5 MB, free: 38.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000335/0.0003354, allocations: 15.98 kB / 463.2 MB, free: 484 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.316, allocations: 61.9 MB / 0.5128 GB, free: 37.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002002/0.3181, allocations: 1.4 MB / 0.5141 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3194, allocations: 0.8974 MB / 0.515 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.185e-05/0.3195, allocations: 3.781 kB / 0.515 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.3198, allocations: 31.73 kB / 0.515 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000176/0.32, allocations: 47.56 kB / 0.5151 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.3202, allocations: 97.08 kB / 0.5152 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001474/0.3204, allocations: 90.81 kB / 0.5153 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001136/0.3205, allocations: 10.45 kB / 0.5153 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.3206, allocations: 44.23 kB / 0.5153 GB, free: 36.15 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.3207, allocations: 23.97 kB / 0.5153 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3207, allocations: 2.844 kB / 0.5153 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.632e-05/0.3208, allocations: 37.66 kB / 0.5154 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.3208, allocations: 24.08 kB / 0.5154 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.163e-05/0.3209, allocations: 58.56 kB / 0.5154 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.3211, allocations: 100.7 kB / 0.5155 GB, free: 36.03 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3211, allocations: 3.938 kB / 0.5155 GB, free: 36.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3211, allocations: 6.969 kB / 0.5156 GB, free: 36.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.3211, 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.0004844/0.3216, allocations: 392.4 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3216, allocations: 11.2 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.3217, allocations: 11 kB / 0.5159 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001857/0.3219, allocations: 211.6 kB / 0.5161 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.3219, allocations: 384 / 0.5161 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.3219, allocations: 11.03 kB / 0.5162 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.3221, allocations: 50.8 kB / 0.5162 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3221, allocations: 5.078 kB / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3221, allocations: 7.188 kB / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.3221, allocations: 0.7812 kB / 0.5162 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.769e-05/0.3222, allocations: 17.55 kB / 0.5162 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.3225, allocations: 291.1 kB / 0.5165 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.3226, allocations: 54.48 kB / 0.5166 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.646e-05/0.3227, allocations: 25.27 kB / 0.5166 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.3227, allocations: 3.062 kB / 0.5166 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/0.3229, allocations: 62.06 kB / 0.5167 GB, free: 34.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3229, allocations: 0 / 0.5167 GB, free: 34.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004727/0.3234, allocations: 178.2 kB / 0.5168 GB, free: 34.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.3234, allocations: 59.28 kB / 0.5169 GB, free: 34.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.3236, allocations: 183.5 kB / 0.5171 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3236, allocations: 27.8 kB / 0.5171 GB, free: 34.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.3236, allocations: 99.64 kB / 0.5172 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.3237, allocations: 25.83 kB / 0.5172 GB, free: 34.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.3237, allocations: 0 / 0.5172 GB, free: 34.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.428e-05/0.3237, allocations: 333.2 kB / 0.5175 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.3238, allocations: 19.09 kB / 0.5175 GB, free: 34.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.407e-05/0.3239, allocations: 39.73 kB / 0.5176 GB, free: 34.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.304e-05/0.324, allocations: 64.23 kB / 0.5176 GB, free: 34.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.324, allocations: 0 / 0.5176 GB, free: 34.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001481/0.3241, allocations: 93.47 kB / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.3241, allocations: 5.688 kB / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3242, allocations: 0 / 0.5177 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3242, allocations: 7 kB / 0.5177 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.3243, allocations: 21.86 kB / 0.5178 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.3243, allocations: 2.656 kB / 0.5178 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.3243, allocations: 6.594 kB / 0.5178 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.3243, allocations: 2.688 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.169e-05/0.3244, allocations: 126 kB / 0.5179 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.3244, allocations: 13.38 kB / 0.5179 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.236e-05/0.3245, allocations: 17.27 kB / 0.5179 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3245, allocations: 4.375 kB / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.3245, allocations: 0 / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3245, allocations: 6.688 kB / 0.5179 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.3248, allocations: 389.7 kB / 0.5183 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3249, allocations: 2.688 kB / 0.5183 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.927e-05/0.3249, allocations: 8.609 kB / 0.5183 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3249, allocations: 2.812 kB / 0.5183 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.3249, allocations: 3.938 kB / 0.5183 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.3249, allocations: 6.719 kB / 0.5183 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3249, allocations: 3.938 kB / 0.5183 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001738/0.3251, allocations: 201.9 kB / 0.5185 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.3252, allocations: 87.55 kB / 0.5186 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.3252, allocations: 9.578 kB / 0.5186 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.675e-05/0.3253, allocations: 6.75 kB / 0.5186 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.3253, allocations: 14.03 kB / 0.5186 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3253, allocations: 2.844 kB / 0.5186 GB, free: 33.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.162e-05/0.3254, allocations: 141.4 kB / 0.5188 GB, free: 33.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3254, allocations: 0 / 0.5188 GB, free: 33.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.3256, allocations: 23.16 kB / 0.5188 GB, free: 33.16 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.0009501/0.3266, allocations: 0.5243 MB / 0.5193 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.3268, allocations: 58.77 kB / 0.5194 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3268, allocations: 1.469 kB / 0.5194 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.566e-05/0.3268, allocations: 32.14 kB / 0.5194 GB, free: 32.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.3272, allocations: 27.2 kB / 0.5194 GB, free: 32.81 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00039/0.3276, allocations: 245.6 kB / 0.5197 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.3277, allocations: 0.71 MB / 0.5203 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.536e-05/0.3278, allocations: 13.47 kB / 0.5204 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.425e-05/0.3278, allocations: 19.08 kB / 0.5204 GB, free: 31.91 MB / 378.7 MB Notification: Performance of SimCode: time 2.01e-07/0.3278, allocations: 0 / 0.5204 GB, free: 31.91 MB / 378.7 MB Notification: Performance of Templates: time 0.004012/0.3319, allocations: 1.619 MB / 0.522 GB, free: 31.72 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches