Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,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.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,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.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 103.3 kB / 18.4 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 188 kB / 19.34 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 243 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2084/0.2084, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 60.47 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1101, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.3906/0.5007, allocations: 152.2 MB / 0.6083 GB, free: 7.953 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.5127, allocations: 10.45 MB / 0.6185 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.513, allocations: 0 / 0.6185 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004615/0.5134, allocations: 87.48 kB / 0.6186 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008001/0.5215, allocations: 3.017 MB / 0.6215 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.5219, allocations: 165.2 kB / 0.6217 GB, free: 10.25 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006787/0.5226, allocations: 0.5295 MB / 0.6222 GB, free: 9.715 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.805e-05/0.5226, allocations: 24.39 kB / 0.6222 GB, free: 9.688 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003196/0.523, allocations: 223.1 kB / 0.6224 GB, free: 9.469 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006787/0.5237, allocations: 375 kB / 0.6228 GB, free: 9.102 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.714e-05/0.5237, allocations: 12 kB / 0.6228 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008653/0.5324, allocations: 4.644 MB / 0.6273 GB, free: 4.438 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.5325, allocations: 99.62 kB / 0.6274 GB, free: 4.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002134/0.5328, allocations: 159.4 kB / 0.6276 GB, free: 4.184 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005156/0.5379, allocations: 2.393 MB / 0.6299 GB, free: 1.785 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5379, allocations: 0 / 0.6299 GB, free: 1.785 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.538, allocations: 0 / 0.6299 GB, free: 1.785 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.538, allocations: 0 / 0.6299 GB, free: 1.785 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002569/0.5405, allocations: 1.05 MB / 0.6309 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.5406, allocations: 8.031 kB / 0.631 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.5408, allocations: 44.39 kB / 0.631 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.5411, allocations: 246.6 kB / 0.6312 GB, free: 364 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000131/0.5413, allocations: 127.5 kB / 0.6314 GB, free: 212 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.5413, allocations: 31.98 kB / 0.6314 GB, free: 180 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000789/0.5421, allocations: 0.5611 MB / 0.6319 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5421, allocations: 0 / 0.6319 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.5422, allocations: 12 kB / 0.6319 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.114e-05/0.5422, allocations: 36.47 kB / 0.632 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.5436, allocations: 1.267 MB / 0.6332 GB, free: 14.27 MB / 478.1 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.00243/0.546, allocations: 1.972 MB / 0.6351 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00071/0.5467, allocations: 264.3 kB / 0.6354 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.5469, allocations: 114.9 kB / 0.6355 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003229/0.5502, allocations: 3.099 MB / 0.6385 GB, free: 8.145 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.5502, allocations: 34.56 kB / 0.6386 GB, free: 8.102 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 2.234e-06/0.5502, allocations: 4 kB / 0.6386 GB, free: 8.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.001751/0.552, allocations: 0.7087 MB / 0.6393 GB, free: 7.363 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.552, allocations: 55.41 kB / 0.6393 GB, free: 7.297 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.5522, allocations: 214.2 kB / 0.6395 GB, free: 7.078 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.5523, allocations: 29.7 kB / 0.6395 GB, free: 7.043 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.5524, allocations: 187.8 kB / 0.6397 GB, free: 6.855 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.5525, allocations: 157.8 kB / 0.6399 GB, free: 6.699 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/0.5527, allocations: 138.1 kB / 0.64 GB, free: 6.559 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5528, allocations: 334.8 kB / 0.6403 GB, free: 6.223 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.553, allocations: 101.2 kB / 0.6404 GB, free: 6.125 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003888/0.5534, allocations: 421.3 kB / 0.6408 GB, free: 5.566 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006879/0.554, allocations: 0.5725 MB / 0.6414 GB, free: 4.848 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.5541, allocations: 7.938 kB / 0.6414 GB, free: 4.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009457/0.555, allocations: 0.5518 MB / 0.6419 GB, free: 4.285 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.555, allocations: 12 kB / 0.6419 GB, free: 4.273 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.5551, allocations: 8 kB / 0.6419 GB, free: 4.266 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.5551, allocations: 16 kB / 0.642 GB, free: 4.25 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/0.5558, allocations: 196.5 kB / 0.6421 GB, free: 4.059 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006768/0.5565, allocations: 1.192 MB / 0.6433 GB, free: 2.82 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.5568, allocations: 20 kB / 0.6433 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/0.5569, allocations: 55.97 kB / 0.6434 GB, free: 2.746 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001951/0.5571, allocations: 181.5 kB / 0.6436 GB, free: 2.559 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.893e-05/0.5572, allocations: 27.72 kB / 0.6436 GB, free: 2.531 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001163/0.5584, allocations: 0.6314 MB / 0.6442 GB, free: 1.867 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.5584, allocations: 4 kB / 0.6442 GB, free: 1.863 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5584, allocations: 0 / 0.6442 GB, free: 1.863 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.5584, allocations: 7.984 kB / 0.6442 GB, free: 1.855 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.5595, allocations: 0.8279 MB / 0.645 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.5595, allocations: 0 / 0.645 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.5599, allocations: 103.8 kB / 0.6451 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.56, allocations: 3.984 kB / 0.6451 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.56, allocations: 12 kB / 0.6451 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005641/0.5606, allocations: 1.168 MB / 0.6463 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5606, allocations: 0 / 0.6463 GB, free: 15.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/0.561, allocations: 353.7 kB / 0.6466 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.5612, allocations: 120.9 kB / 0.6467 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.5612, allocations: 16.44 kB / 0.6467 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002669/0.5615, allocations: 12 kB / 0.6468 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.5616, allocations: 24.78 kB / 0.6468 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.5616, allocations: 23.92 kB / 0.6468 GB, free: 15.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001557/0.5618, allocations: 172.5 kB / 0.647 GB, free: 14.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5618, allocations: 0 / 0.647 GB, free: 14.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00142/0.5632, allocations: 495.6 kB / 0.6474 GB, free: 14.36 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002098/0.5653, allocations: 0.7406 MB / 0.6482 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009357/0.5663, allocations: 372.3 kB / 0.6485 GB, free: 13.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.5663, allocations: 3.938 kB / 0.6485 GB, free: 13.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004049/0.5667, allocations: 148 kB / 0.6487 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007649/0.5675, allocations: 121.1 kB / 0.6488 GB, free: 12.99 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008439/0.5759, allocations: 5.402 MB / 0.6541 GB, free: 7.551 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.5763, allocations: 0.7697 MB / 0.6548 GB, free: 6.75 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006962/0.5771, allocations: 202.8 kB / 0.655 GB, free: 6.551 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.5773, allocations: 59.41 kB / 0.6551 GB, free: 6.496 MB / 494.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5773, allocations: 0 / 0.6551 GB, free: 6.496 MB / 494.1 MB Notification: Performance of Templates: time 0.02625/0.6035, allocations: 15.03 MB / 0.6697 GB, free: 7.555 MB / 0.4981 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches