Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.0008753/0.0008753, 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.328/1.328, allocations: 225.7 MB / 243.9 MB, free: 8.434 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.0008462/0.0008462, allocations: 84.53 kB / 295 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.3526/0.3526, allocations: 44.31 MB / 390.5 MB, free: 38.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003138/0.0003138, allocations: 12 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3176/0.318, allocations: 61.89 MB / 0.5127 GB, free: 37.73 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.001929/0.3199, allocations: 1.28 MB / 0.514 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008233/0.3208, allocations: 477.4 kB / 0.5144 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.898e-05/0.3209, allocations: 0 / 0.5144 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.3212, allocations: 124.4 kB / 0.5146 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001607/0.3214, allocations: 84.09 kB / 0.5146 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.3217, allocations: 100.8 kB / 0.5147 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.3218, allocations: 86.45 kB / 0.5148 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.322, allocations: 14.11 kB / 0.5148 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.956e-05/0.322, allocations: 39.55 kB / 0.5149 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3221, allocations: 76.23 kB / 0.5149 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3222, allocations: 0 / 0.5149 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.118e-05/0.3223, allocations: 35.52 kB / 0.515 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.795e-05/0.3223, allocations: 34.7 kB / 0.515 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.3224, allocations: 60.86 kB / 0.5151 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.3226, allocations: 109.3 kB / 0.5152 GB, free: 36.18 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3226, allocations: 0 / 0.5152 GB, free: 36.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3226, allocations: 0 / 0.5152 GB, free: 36.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.3226, allocations: 4 kB / 0.5152 GB, free: 36.18 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004423/0.3231, allocations: 410.6 kB / 0.5156 GB, free: 35.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3231, allocations: 9.531 kB / 0.5156 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.3232, allocations: 14.5 kB / 0.5156 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.3233, allocations: 209.4 kB / 0.5158 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3234, allocations: 1.906 kB / 0.5158 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.3234, allocations: 10.94 kB / 0.5158 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.3235, allocations: 62.31 kB / 0.5159 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.3236, allocations: 1.031 kB / 0.5159 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.3236, allocations: 4 kB / 0.5159 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3236, allocations: 1.062 kB / 0.5159 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.3237, allocations: 31.92 kB / 0.5159 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.3241, allocations: 307.7 kB / 0.5162 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.3242, allocations: 49.23 kB / 0.5162 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.3242, allocations: 17.95 kB / 0.5163 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.3243, allocations: 4.328 kB / 0.5163 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.3243, allocations: 35.59 kB / 0.5163 GB, free: 35.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3243, allocations: 1.188 kB / 0.5163 GB, free: 35.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008648/0.3252, allocations: 272 kB / 0.5165 GB, free: 35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.3252, allocations: 57.86 kB / 0.5166 GB, free: 34.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.3254, allocations: 273.9 kB / 0.5169 GB, free: 34.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3255, allocations: 33.7 kB / 0.5169 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.3256, allocations: 112 kB / 0.517 GB, free: 34.65 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.3256, allocations: 29.89 kB / 0.517 GB, free: 34.62 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.3256, allocations: 4 kB / 0.517 GB, free: 34.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.3257, allocations: 323.5 kB / 0.5173 GB, free: 34.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.849e-05/0.3257, allocations: 37.95 kB / 0.5174 GB, free: 34.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/0.3258, allocations: 37.39 kB / 0.5174 GB, free: 34.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.326, allocations: 85.09 kB / 0.5175 GB, free: 34.25 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.326, allocations: 0 / 0.5175 GB, free: 34.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001889/0.3262, allocations: 121.2 kB / 0.5176 GB, free: 34.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3262, allocations: 5.375 kB / 0.5176 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3262, allocations: 0 / 0.5176 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3262, allocations: 0 / 0.5176 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.675e-05/0.3263, allocations: 23.47 kB / 0.5176 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3263, allocations: 3.938 kB / 0.5176 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.046e-05/0.3264, allocations: 8.844 kB / 0.5177 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-06/0.3264, allocations: 9.5 kB / 0.5177 GB, free: 34.18 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 (8): * Single equations (assignments): 8 * 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.014e-05/0.3265, allocations: 136.1 kB / 0.5178 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.3265, allocations: 14.95 kB / 0.5178 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.3268, allocations: 133.6 kB / 0.5179 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3268, allocations: 5.344 kB / 0.5179 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3268, allocations: 3.938 kB / 0.5179 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3268, allocations: 5.328 kB / 0.5179 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.3273, allocations: 439.1 kB / 0.5184 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.3273, allocations: 4.031 kB / 0.5184 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.399e-05/0.3274, allocations: 22.89 kB / 0.5184 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3274, allocations: 1.25 kB / 0.5184 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.3274, allocations: 1.531 kB / 0.5184 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3274, allocations: 1.094 kB / 0.5184 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.3274, allocations: 0 / 0.5184 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.3277, allocations: 221.7 kB / 0.5186 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.3277, allocations: 104.8 kB / 0.5187 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3277, allocations: 0.875 kB / 0.5187 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-05/0.3278, allocations: 5.656 kB / 0.5187 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.3279, allocations: 6.812 kB / 0.5187 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.3279, allocations: 6.125 kB / 0.5187 GB, free: 33.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.328, allocations: 202.1 kB / 0.5189 GB, free: 33.22 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.328, allocations: 3.938 kB / 0.5189 GB, free: 33.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.3283, allocations: 23.84 kB / 0.5189 GB, free: 33.21 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0009967/0.3293, allocations: 0.5182 MB / 0.5195 GB, free: 32.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002328/0.3295, allocations: 81.91 kB / 0.5195 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3295, allocations: 3.938 kB / 0.5195 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.087e-05/0.3296, allocations: 47.83 kB / 0.5196 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.33, allocations: 24.7 kB / 0.5196 GB, free: 32.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004679/0.3304, allocations: 346.6 kB / 0.5199 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3306, allocations: 0.7187 MB / 0.5206 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.892e-05/0.3307, allocations: 24.73 kB / 0.5207 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.3307, allocations: 16.22 kB / 0.5207 GB, free: 31.9 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3307, allocations: 0 / 0.5207 GB, free: 31.9 MB / 378.7 MB Notification: Performance of Templates: time 0.003365/0.3341, allocations: 1.31 MB / 0.522 GB, free: 31.74 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches