Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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.Test15") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, 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.338/1.338, allocations: 225.7 MB / 243.9 MB, free: 8.457 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.0008588/0.0008588, allocations: 91.8 kB / 295.1 MB, free: 9.5 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.3486/0.3486, allocations: 44.32 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002562/0.0002562, allocations: 12 kB / 463.1 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3921, allocations: 61.91 MB / 0.5127 GB, free: 37.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.001664/0.3938, allocations: 1.278 MB / 0.514 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006778/0.3945, allocations: 466.4 kB / 0.5144 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.522e-05/0.3945, allocations: 3.938 kB / 0.5144 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.3948, allocations: 78.58 kB / 0.5145 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.395, allocations: 58.41 kB / 0.5146 GB, free: 36.64 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.3952, allocations: 102.3 kB / 0.5147 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001246/0.3954, allocations: 72.38 kB / 0.5147 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.858e-05/0.3955, allocations: 16.45 kB / 0.5148 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.898e-05/0.3955, allocations: 23.27 kB / 0.5148 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.813e-05/0.3956, allocations: 53.48 kB / 0.5148 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.3956, allocations: 2.75 kB / 0.5148 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.572e-05/0.3957, allocations: 37.33 kB / 0.5149 GB, free: 36.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.3958, allocations: 23 kB / 0.5149 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.953e-05/0.3958, allocations: 51.42 kB / 0.5149 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.396, allocations: 97.33 kB / 0.515 GB, free: 36.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.396, allocations: 10.91 kB / 0.515 GB, free: 36.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.396, allocations: 0 / 0.515 GB, free: 36.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.396, allocations: 0 / 0.515 GB, free: 36.41 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.0003648/0.3964, allocations: 391.2 kB / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3964, allocations: 15.03 kB / 0.5154 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.337e-05/0.3965, allocations: 7.5 kB / 0.5154 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.3966, allocations: 202 kB / 0.5156 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3966, allocations: 7.25 kB / 0.5156 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.3967, allocations: 3.75 kB / 0.5156 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000128/0.3968, allocations: 53.48 kB / 0.5157 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3968, allocations: 0 / 0.5157 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.3968, allocations: 7.938 kB / 0.5157 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3968, allocations: 3 kB / 0.5157 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.397, allocations: 31.94 kB / 0.5157 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.3973, allocations: 301.5 kB / 0.516 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.697e-05/0.3974, allocations: 53.34 kB / 0.5161 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.398e-05/0.3975, allocations: 20.19 kB / 0.5161 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.3975, allocations: 2.656 kB / 0.5161 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.423e-05/0.3975, allocations: 30.56 kB / 0.5161 GB, free: 35.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3975, allocations: 0 / 0.5161 GB, free: 35.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009809/0.3985, allocations: 274.3 kB / 0.5164 GB, free: 35.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.3985, allocations: 51.41 kB / 0.5164 GB, free: 35.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3987, allocations: 208.6 kB / 0.5166 GB, free: 35.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.3987, allocations: 25.7 kB / 0.5167 GB, free: 35.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.3988, allocations: 104.7 kB / 0.5168 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.3988, allocations: 29.56 kB / 0.5168 GB, free: 34.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.579e-06/0.3988, allocations: 0 / 0.5168 GB, free: 34.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.097e-05/0.3989, allocations: 327.7 kB / 0.5171 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.885e-05/0.3989, allocations: 35.47 kB / 0.5171 GB, free: 34.58 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.549e-05/0.399, allocations: 30.8 kB / 0.5172 GB, free: 34.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3992, allocations: 90.31 kB / 0.5172 GB, free: 34.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.3992, allocations: 0 / 0.5172 GB, free: 34.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001834/0.3994, allocations: 114.6 kB / 0.5174 GB, free: 34.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3994, allocations: 2.938 kB / 0.5174 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3994, allocations: 0 / 0.5174 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3994, allocations: 10.7 kB / 0.5174 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.3995, allocations: 21.09 kB / 0.5174 GB, free: 34.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.3995, allocations: 7.875 kB / 0.5174 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.3996, allocations: 6.219 kB / 0.5174 GB, free: 34.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3996, allocations: 5.5 kB / 0.5174 GB, free: 34.46 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 6.897e-05/0.3997, allocations: 128 kB / 0.5175 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.3997, allocations: 13.28 kB / 0.5175 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002709/0.4, allocations: 147.2 kB / 0.5177 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.4, allocations: 1.031 kB / 0.5177 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4, allocations: 3.938 kB / 0.5177 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4, allocations: 1.188 kB / 0.5177 GB, free: 34.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.4004, allocations: 422.5 kB / 0.5181 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4004, allocations: 0 / 0.5181 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.859e-05/0.4005, allocations: 26.67 kB / 0.5181 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.4005, allocations: 1.375 kB / 0.5181 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.4005, allocations: 4.812 kB / 0.5181 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4006, allocations: 5.75 kB / 0.5181 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4006, allocations: 0 / 0.5181 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.4008, allocations: 220.5 kB / 0.5183 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.868e-05/0.4008, allocations: 92.05 kB / 0.5184 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.4008, allocations: 5.156 kB / 0.5184 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.4009, allocations: 8.594 kB / 0.5184 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/0.401, allocations: 6.75 kB / 0.5184 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.401, allocations: 2.75 kB / 0.5184 GB, free: 33.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.4011, allocations: 158.7 kB / 0.5186 GB, free: 33.51 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4011, allocations: 0 / 0.5186 GB, free: 33.51 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.4013, allocations: 21.48 kB / 0.5186 GB, free: 33.51 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.001008/0.4023, allocations: 0.5119 MB / 0.5191 GB, free: 33.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002255/0.4026, allocations: 84.44 kB / 0.5192 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4026, allocations: 0 / 0.5192 GB, free: 33.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.798e-05/0.4027, allocations: 44.42 kB / 0.5192 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.403, allocations: 28.11 kB / 0.5193 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/0.4034, allocations: 281.4 kB / 0.5195 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.4036, allocations: 0.709 MB / 0.5202 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.718e-05/0.4037, allocations: 26.73 kB / 0.5203 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.154e-05/0.4037, allocations: 13.78 kB / 0.5203 GB, free: 32.23 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4037, allocations: 3.938 kB / 0.5203 GB, free: 32.23 MB / 378.7 MB Notification: Performance of Templates: time 0.003685/0.4074, allocations: 1.29 MB / 0.5215 GB, free: 32.07 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches