Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 176.7 kB / 17.41 MB, free: 4.293 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.383/1.383, 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.0008239/0.000824, allocations: 97.84 kB / 295.1 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.3231/0.3231, allocations: 44.31 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004365, allocations: 11.94 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4127, allocations: 61.9 MB / 0.5127 GB, free: 37.85 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.001546/0.4142, allocations: 1.261 MB / 0.514 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006115/0.4149, allocations: 472.3 kB / 0.5144 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.4149, allocations: 0 / 0.5144 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.4151, allocations: 33.67 kB / 0.5144 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.4153, allocations: 29.84 kB / 0.5145 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.4155, allocations: 96.7 kB / 0.5146 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.4156, allocations: 58.19 kB / 0.5146 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.4158, allocations: 13.19 kB / 0.5146 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.088e-05/0.4158, allocations: 15.78 kB / 0.5147 GB, free: 36.47 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.202e-05/0.4159, allocations: 24.67 kB / 0.5147 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.4159, allocations: 2.594 kB / 0.5147 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.397e-05/0.416, allocations: 27.42 kB / 0.5147 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.88e-05/0.416, allocations: 13.31 kB / 0.5147 GB, free: 36.44 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.4161, allocations: 43.53 kB / 0.5148 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.4162, allocations: 81.84 kB / 0.5148 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4162, allocations: 0 / 0.5148 GB, free: 36.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.4162, allocations: 0 / 0.5148 GB, free: 36.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.4162, allocations: 2.781 kB / 0.5148 GB, free: 36.36 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003566/0.4166, allocations: 377.8 kB / 0.5152 GB, free: 35.98 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4166, allocations: 8.969 kB / 0.5152 GB, free: 35.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.4167, allocations: 7.875 kB / 0.5152 GB, free: 35.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.4168, allocations: 191.4 kB / 0.5154 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.4168, allocations: 7.312 kB / 0.5154 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.4169, allocations: 384 / 0.5154 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.417, allocations: 55.97 kB / 0.5155 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.417, allocations: 7.031 kB / 0.5155 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.417, allocations: 4 kB / 0.5155 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.227e-06/0.417, allocations: 0 / 0.5155 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.397e-05/0.4171, allocations: 29.09 kB / 0.5155 GB, free: 35.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.4174, allocations: 283.8 kB / 0.5158 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.4176, allocations: 47.5 kB / 0.5158 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.4177, allocations: 20.98 kB / 0.5158 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.4177, allocations: 7.141 kB / 0.5158 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.166e-05/0.4177, allocations: 34.5 kB / 0.5159 GB, free: 35.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.4177, allocations: 0 / 0.5159 GB, free: 35.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005206/0.4183, allocations: 166.7 kB / 0.516 GB, free: 35.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.4183, allocations: 55.41 kB / 0.5161 GB, free: 35.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.4184, allocations: 170.1 kB / 0.5162 GB, free: 35.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.4184, allocations: 25.7 kB / 0.5163 GB, free: 35.04 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.4185, allocations: 101.8 kB / 0.5164 GB, free: 34.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.4185, allocations: 11.72 kB / 0.5164 GB, free: 34.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.4185, allocations: 0 / 0.5164 GB, free: 34.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.4186, allocations: 325.5 kB / 0.5167 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.612e-05/0.4187, allocations: 33.08 kB / 0.5167 GB, free: 34.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.451e-05/0.4187, allocations: 23.8 kB / 0.5167 GB, free: 34.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.4188, allocations: 61.89 kB / 0.5168 GB, free: 34.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4189, allocations: 0 / 0.5168 GB, free: 34.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001633/0.419, allocations: 96.17 kB / 0.5169 GB, free: 34.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.419, allocations: 5.469 kB / 0.5169 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.419, allocations: 0 / 0.5169 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.4191, allocations: 0 / 0.5169 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.681e-05/0.4191, allocations: 17.2 kB / 0.5169 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.91e-06/0.4191, allocations: 0 / 0.5169 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.022e-05/0.4192, allocations: 10.12 kB / 0.5169 GB, free: 34.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.4192, allocations: 3 kB / 0.5169 GB, free: 34.52 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 (5): * Single equations (assignments): 5 * 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.446e-05/0.4193, allocations: 126.5 kB / 0.5171 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.4193, allocations: 9.531 kB / 0.5171 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.4195, allocations: 104 kB / 0.5172 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.4196, allocations: 0 / 0.5172 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4196, allocations: 0 / 0.5172 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4196, allocations: 3.219 kB / 0.5172 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.4199, allocations: 364.2 kB / 0.5175 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4199, allocations: 4 kB / 0.5175 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.775e-05/0.42, allocations: 18.69 kB / 0.5175 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.42, allocations: 288 / 0.5175 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.42, allocations: 1.062 kB / 0.5175 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.42, allocations: 6.094 kB / 0.5175 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.42, allocations: 0 / 0.5175 GB, free: 33.99 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.4202, allocations: 196.3 kB / 0.5177 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.4203, allocations: 92.94 kB / 0.5178 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.4203, allocations: 1.703 kB / 0.5178 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.4204, allocations: 11.17 kB / 0.5178 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.4204, allocations: 3.781 kB / 0.5178 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.4204, allocations: 0.9375 kB / 0.5178 GB, free: 33.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.467e-05/0.4205, allocations: 132.7 kB / 0.518 GB, free: 33.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4205, allocations: 0 / 0.518 GB, free: 33.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.4208, allocations: 15.7 kB / 0.518 GB, free: 33.63 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0009397/0.4217, allocations: 463.8 kB / 0.5184 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002256/0.4219, allocations: 63.86 kB / 0.5185 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.422, allocations: 0 / 0.5185 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.605e-05/0.422, allocations: 35.42 kB / 0.5185 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/0.4224, allocations: 13.08 kB / 0.5185 GB, free: 33.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.4227, allocations: 216.8 kB / 0.5187 GB, free: 33.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.4229, allocations: 0.6995 MB / 0.5194 GB, free: 32.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.423, allocations: 19.89 kB / 0.5194 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.423, allocations: 13.89 kB / 0.5194 GB, free: 32.45 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.423, allocations: 0 / 0.5194 GB, free: 32.45 MB / 378.7 MB Notification: Performance of Templates: time 0.003496/0.4265, allocations: 1.047 MB / 0.5205 GB, free: 32.31 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches