Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.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.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 178 kB / 17.41 MB, free: 4.258 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.314/1.314, allocations: 225.7 MB / 243.9 MB, free: 8.484 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.0007934/0.0007933, allocations: 102.2 kB / 295.1 MB, free: 9.527 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.3697/0.3697, allocations: 44.31 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003168, allocations: 8 kB / 463.1 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3387, allocations: 61.9 MB / 0.5127 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.001524/0.3403, allocations: 1.341 MB / 0.514 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006293/0.341, allocations: 0.4961 MB / 0.5145 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.341, allocations: 0 / 0.5145 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004605/0.3415, allocations: 455.2 kB / 0.515 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002873/0.3418, allocations: 242.2 kB / 0.5152 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.3422, allocations: 164 kB / 0.5153 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001954/0.3424, allocations: 175.2 kB / 0.5155 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.3425, allocations: 26.72 kB / 0.5155 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.709e-05/0.3426, allocations: 98.83 kB / 0.5156 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.3428, allocations: 215.6 kB / 0.5158 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.3428, allocations: 0 / 0.5158 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-05/0.3429, allocations: 36.66 kB / 0.5159 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.3431, allocations: 89.53 kB / 0.516 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.79e-05/0.3432, allocations: 124.9 kB / 0.5161 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.3434, allocations: 263 kB / 0.5163 GB, free: 36.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3434, allocations: 0 / 0.5163 GB, free: 36.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3434, allocations: 0 / 0.5163 GB, free: 36.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.3434, allocations: 1.5 kB / 0.5163 GB, free: 36.04 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00059/0.344, allocations: 0.6 MB / 0.5169 GB, free: 35.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3441, allocations: 10.06 kB / 0.5169 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.3441, allocations: 43.41 kB / 0.517 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.3444, allocations: 294.4 kB / 0.5172 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.3444, allocations: 5.781 kB / 0.5173 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.3444, allocations: 7.953 kB / 0.5173 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.3446, allocations: 78.72 kB / 0.5173 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.3446, allocations: 4.922 kB / 0.5173 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.3446, allocations: 0 / 0.5173 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.3447, allocations: 5.469 kB / 0.5173 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.3448, allocations: 49.39 kB / 0.5174 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005134/0.3453, allocations: 422.1 kB / 0.5178 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.3456, allocations: 58.42 kB / 0.5179 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.087e-05/0.3457, allocations: 40.48 kB / 0.5179 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.3457, allocations: 5 kB / 0.5179 GB, free: 34.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.3457, allocations: 31.62 kB / 0.5179 GB, free: 34.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.3457, allocations: 0 / 0.5179 GB, free: 34.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001358/0.3471, allocations: 0.5635 MB / 0.5185 GB, free: 34.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/0.3471, allocations: 55.34 kB / 0.5185 GB, free: 34.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006052/0.3477, allocations: 0.8522 MB / 0.5194 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.3478, allocations: 25.7 kB / 0.5194 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.3479, allocations: 221.9 kB / 0.5196 GB, free: 33.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.3479, allocations: 33.7 kB / 0.5196 GB, free: 33.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.3479, allocations: 0 / 0.5196 GB, free: 33.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.348, allocations: 361.4 kB / 0.52 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.3481, allocations: 69.62 kB / 0.52 GB, free: 33.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.3482, allocations: 62.25 kB / 0.5201 GB, free: 33.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.3485, allocations: 143.5 kB / 0.5202 GB, free: 33.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3485, allocations: 0 / 0.5202 GB, free: 33.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002985/0.3488, allocations: 205 kB / 0.5204 GB, free: 33.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3488, allocations: 10.06 kB / 0.5204 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3488, allocations: 3.281 kB / 0.5204 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.3489, allocations: 0 / 0.5204 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.349, allocations: 30.72 kB / 0.5205 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.349, allocations: 6.75 kB / 0.5205 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.914e-05/0.349, allocations: 20.34 kB / 0.5205 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.3491, allocations: 3.062 kB / 0.5205 GB, free: 33.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001398/0.3492, allocations: 214.9 kB / 0.5207 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.3493, allocations: 43.84 kB / 0.5208 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003847/0.3496, allocations: 242.2 kB / 0.521 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3497, allocations: 3.938 kB / 0.521 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3497, allocations: 0 / 0.521 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3497, allocations: 2.844 kB / 0.521 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006595/0.3503, allocations: 0.6234 MB / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3504, allocations: 0 / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.094e-05/0.3505, allocations: 37.22 kB / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.3505, allocations: 2.812 kB / 0.5216 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3505, allocations: 4 kB / 0.5216 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3505, allocations: 3.031 kB / 0.5216 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3505, allocations: 0 / 0.5216 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.3508, allocations: 323.9 kB / 0.522 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.3509, allocations: 115.6 kB / 0.5221 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3509, allocations: 0 / 0.5221 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.351, allocations: 19.28 kB / 0.5221 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.878e-05/0.3511, allocations: 6.125 kB / 0.5221 GB, free: 32.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.3511, allocations: 5.75 kB / 0.5221 GB, free: 32.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004258/0.3515, allocations: 0.6423 MB / 0.5227 GB, free: 32.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3516, allocations: 4 kB / 0.5227 GB, free: 32.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000232/0.3518, allocations: 29.84 kB / 0.5228 GB, free: 32.09 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.000879/0.3527, allocations: 0.5302 MB / 0.5233 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003027/0.353, allocations: 143.7 kB / 0.5234 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.353, allocations: 4 kB / 0.5234 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.3531, allocations: 74.11 kB / 0.5235 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.3535, allocations: 34.61 kB / 0.5235 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000891/0.3544, allocations: 0.9595 MB / 0.5244 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.3547, allocations: 0.8316 MB / 0.5253 GB, free: 30.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.3548, allocations: 32.22 kB / 0.5253 GB, free: 30.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.3548, allocations: 13.41 kB / 0.5253 GB, free: 30.48 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3548, allocations: 0 / 0.5253 GB, free: 30.48 MB / 378.7 MB Notification: Performance of Templates: time 0.004062/0.3589, allocations: 1.746 MB / 0.527 GB, free: 30.27 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches