Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001338, allocations: 174 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.6 MB / 222.4 MB, free: 8.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007428/0.0007427, allocations: 86.75 kB / 270.8 MB, free: 8.121 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3371/0.3371, allocations: 43.67 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.0003211, allocations: 8 kB / 432.3 MB, free: 5.031 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1234, allocations: 58.86 MB / 491.2 MB, free: 10.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3605/0.484, allocations: 124.6 MB / 0.6014 GB, free: 9.223 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.006009/0.4901, allocations: 7.072 MB / 0.6083 GB, free: 1.625 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.4903, allocations: 0 / 0.6083 GB, free: 1.625 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004294/0.4908, allocations: 51.72 kB / 0.6083 GB, free: 1.574 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.493, allocations: 0.6649 MB / 0.609 GB, free: 0.9062 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.4934, allocations: 146.4 kB / 0.6091 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005742/0.4939, allocations: 450.1 kB / 0.6095 GB, free: 332 kB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.306e-05/0.494, allocations: 9.688 kB / 0.6095 GB, free: 324 kB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001954/0.4942, allocations: 155.4 kB / 0.6097 GB, free: 168 kB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002929/0.4945, allocations: 199.3 kB / 0.6099 GB, free: 15.97 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.4945, allocations: 4 kB / 0.6099 GB, free: 15.96 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.4961, allocations: 0.6979 MB / 0.6106 GB, free: 15.27 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.4962, allocations: 55.73 kB / 0.6106 GB, free: 15.21 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.4963, allocations: 129.2 kB / 0.6107 GB, free: 15.08 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007855/0.4971, allocations: 457.1 kB / 0.6112 GB, free: 14.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4971, allocations: 4 kB / 0.6112 GB, free: 14.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4971, allocations: 4 kB / 0.6112 GB, free: 14.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.4971, allocations: 0 / 0.6112 GB, free: 14.62 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0009478/0.4981, allocations: 0.5427 MB / 0.6117 GB, free: 14.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4982, allocations: 8.031 kB / 0.6117 GB, free: 14.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.4983, allocations: 32.59 kB / 0.6118 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.4985, allocations: 224.1 kB / 0.612 GB, free: 13.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.4987, allocations: 123.9 kB / 0.6121 GB, free: 13.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.834e-05/0.4987, allocations: 20.56 kB / 0.6121 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004534/0.4992, allocations: 330.7 kB / 0.6124 GB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4992, allocations: 0 / 0.6124 GB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.924e-05/0.4992, allocations: 12 kB / 0.6124 GB, free: 13.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.4993, allocations: 7.984 kB / 0.6124 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007061/0.5, allocations: 0.7313 MB / 0.6132 GB, free: 12.48 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.5012, allocations: 1.237 MB / 0.6144 GB, free: 11.13 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.5016, allocations: 167.8 kB / 0.6145 GB, free: 10.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.5017, allocations: 89.41 kB / 0.6146 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002212/0.5039, allocations: 2.703 MB / 0.6173 GB, free: 7.652 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.504, allocations: 30.56 kB / 0.6173 GB, free: 7.613 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.504, allocations: 4 kB / 0.6173 GB, free: 7.609 MB / 442.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005582/0.5046, allocations: 216.8 kB / 0.6175 GB, free: 7.391 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.5046, allocations: 59.34 kB / 0.6175 GB, free: 7.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.5048, allocations: 210.9 kB / 0.6177 GB, free: 7.105 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.5048, allocations: 29.7 kB / 0.6178 GB, free: 7.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.5049, allocations: 214.8 kB / 0.618 GB, free: 6.855 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.546e-05/0.505, allocations: 51.34 kB / 0.618 GB, free: 6.805 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.055e-05/0.505, allocations: 8 kB / 0.618 GB, free: 6.797 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.5051, allocations: 326.8 kB / 0.6184 GB, free: 6.469 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.079e-05/0.5052, allocations: 56.72 kB / 0.6184 GB, free: 6.414 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.5054, allocations: 328 kB / 0.6187 GB, free: 5.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.5058, allocations: 426.1 kB / 0.6191 GB, free: 5.402 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.5058, allocations: 8 kB / 0.6191 GB, free: 5.395 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004801/0.5063, allocations: 373.7 kB / 0.6195 GB, free: 5.023 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.5063, allocations: 8 kB / 0.6195 GB, free: 5.016 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.5063, allocations: 16.12 kB / 0.6195 GB, free: 5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.5064, allocations: 12 kB / 0.6195 GB, free: 4.988 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.5067, allocations: 115.7 kB / 0.6196 GB, free: 4.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.219e-05/0.5067, allocations: 19.92 kB / 0.6197 GB, free: 4.855 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.5069, allocations: 27.84 kB / 0.6197 GB, free: 4.828 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.507, allocations: 28.88 kB / 0.6197 GB, free: 4.801 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * 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.0001061/0.5071, allocations: 141.7 kB / 0.6198 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.5071, allocations: 19.81 kB / 0.6199 GB, free: 4.633 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.5074, allocations: 155.7 kB / 0.62 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.5074, allocations: 3.938 kB / 0.62 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5075, allocations: 0 / 0.62 GB, free: 4.473 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.5075, allocations: 11.98 kB / 0.62 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.5079, allocations: 443.8 kB / 0.6204 GB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.508, allocations: 1.188 kB / 0.6204 GB, free: 3.969 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.5081, allocations: 27.98 kB / 0.6205 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5081, allocations: 0 / 0.6205 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.5081, allocations: 8 kB / 0.6205 GB, free: 3.934 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5081, allocations: 3.938 kB / 0.6205 GB, free: 3.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5082, allocations: 0 / 0.6205 GB, free: 3.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.5084, allocations: 226 kB / 0.6207 GB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.987e-05/0.5084, allocations: 104.9 kB / 0.6208 GB, free: 3.566 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.18e-05/0.5085, allocations: 4 kB / 0.6208 GB, free: 3.562 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001985/0.5087, allocations: 19.09 kB / 0.6208 GB, free: 3.547 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.5087, allocations: 15.98 kB / 0.6208 GB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.5087, allocations: 4 kB / 0.6208 GB, free: 3.527 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.5089, allocations: 148.5 kB / 0.621 GB, free: 3.383 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5089, allocations: 3.938 kB / 0.621 GB, free: 3.379 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004376/0.5093, allocations: 92 kB / 0.6211 GB, free: 3.289 MB / 442.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 (13): * Single equations (assignments): 12 * Array equations: 1 * 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.0003026/0.5096, allocations: 167.2 kB / 0.6212 GB, free: 3.117 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.5099, allocations: 184.4 kB / 0.6214 GB, free: 2.938 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.5099, allocations: 0 / 0.6214 GB, free: 2.938 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 5.313e-05/0.51, allocations: 37.67 kB / 0.6214 GB, free: 2.902 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004247/0.5104, allocations: 48.47 kB / 0.6215 GB, free: 2.855 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008992/0.5113, allocations: 0.5846 MB / 0.6221 GB, free: 2.242 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.5116, allocations: 0.7287 MB / 0.6228 GB, free: 1.488 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000265/0.5119, allocations: 54.81 kB / 0.6228 GB, free: 1.438 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.512, allocations: 31.44 kB / 0.6229 GB, free: 1.406 MB / 442.7 MB Notification: Performance of SimCode: time 4.31e-07/0.512, allocations: 0 / 0.6229 GB, free: 1.406 MB / 442.7 MB Notification: Performance of Templates: time 0.006866/0.5189, allocations: 3.06 MB / 0.6258 GB, free: 14.39 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches