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.0008049/0.0008048, allocations: 90.98 kB / 18 MB, free: 5.734 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.0009522/0.000952, allocations: 179.7 kB / 18.91 MB, free: 4.867 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: 223.3 MB / 243 MB, free: 15.91 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.2051/0.2051, allocations: 44.24 MB / 338.3 MB, free: 2.609 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005236, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1522, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.417/0.5693, allocations: 148.1 MB / 0.6064 GB, free: 14.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.582, allocations: 10.62 MB / 0.6168 GB, free: 3.848 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.5822, allocations: 3.938 kB / 0.6168 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004105/0.5826, allocations: 71.67 kB / 0.6169 GB, free: 3.773 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007101/0.5898, allocations: 2.684 MB / 0.6195 GB, free: 1.086 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.5902, allocations: 152.2 kB / 0.6196 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009427/0.5911, allocations: 0.7636 MB / 0.6204 GB, free: 180 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.433e-05/0.5912, allocations: 20.41 kB / 0.6204 GB, free: 156 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004809/0.5917, allocations: 215.1 kB / 0.6206 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007978/0.5925, allocations: 402.8 kB / 0.621 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.255e-05/0.5926, allocations: 8 kB / 0.621 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0087/0.6013, allocations: 5.123 MB / 0.626 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000186/0.6015, allocations: 91.69 kB / 0.6261 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000278/0.6018, allocations: 177 kB / 0.6263 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003386/0.6052, allocations: 1.669 MB / 0.6279 GB, free: 8.465 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6053, allocations: 0 / 0.6279 GB, free: 8.465 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.6053, allocations: 0 / 0.6279 GB, free: 8.465 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.6053, allocations: 0 / 0.6279 GB, free: 8.465 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.002793/0.6081, allocations: 0.9911 MB / 0.6289 GB, free: 7.426 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.6081, allocations: 8.031 kB / 0.6289 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001981/0.6083, allocations: 36.41 kB / 0.6289 GB, free: 7.383 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.6087, allocations: 246.6 kB / 0.6291 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.6088, allocations: 127.5 kB / 0.6293 GB, free: 6.953 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.879e-05/0.6089, allocations: 28 kB / 0.6293 GB, free: 6.926 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00085/0.6097, allocations: 0.5603 MB / 0.6298 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.6097, allocations: 0 / 0.6298 GB, free: 6.336 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.341e-05/0.6098, allocations: 19.98 kB / 0.6299 GB, free: 6.316 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.825e-05/0.6099, allocations: 32.42 kB / 0.6299 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.6113, allocations: 1.259 MB / 0.6311 GB, free: 5.023 MB / 462.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.002521/0.6138, allocations: 1.968 MB / 0.633 GB, free: 2.91 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000712/0.6145, allocations: 260.9 kB / 0.6333 GB, free: 2.648 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.6148, allocations: 114 kB / 0.6334 GB, free: 2.531 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003334/0.6181, allocations: 3.106 MB / 0.6364 GB, free: 14.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.6182, allocations: 38.56 kB / 0.6365 GB, free: 14.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/0.6182, allocations: 0 / 0.6365 GB, free: 14.85 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.001918/0.6201, allocations: 0.7144 MB / 0.6372 GB, free: 14.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.6201, allocations: 59.34 kB / 0.6372 GB, free: 14.04 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.6203, allocations: 206.2 kB / 0.6374 GB, free: 13.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.088e-05/0.6204, allocations: 33.7 kB / 0.6374 GB, free: 13.79 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.6205, allocations: 187.8 kB / 0.6376 GB, free: 13.6 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.6207, allocations: 153.8 kB / 0.6378 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-05/0.6207, allocations: 57.62 kB / 0.6378 GB, free: 13.38 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6209, allocations: 334.8 kB / 0.6381 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001951/0.6211, allocations: 101.2 kB / 0.6382 GB, free: 12.95 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004026/0.6215, allocations: 425.3 kB / 0.6387 GB, free: 12.39 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007179/0.6222, allocations: 0.5723 MB / 0.6392 GB, free: 11.67 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.6222, allocations: 4 kB / 0.6392 GB, free: 11.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009711/0.6232, allocations: 0.5483 MB / 0.6397 GB, free: 11.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.6233, allocations: 12 kB / 0.6398 GB, free: 11.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.6233, allocations: 8 kB / 0.6398 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.6233, allocations: 16 kB / 0.6398 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007081/0.624, allocations: 199.7 kB / 0.64 GB, free: 10.88 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006825/0.6247, allocations: 1.195 MB / 0.6411 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.6251, allocations: 20 kB / 0.6412 GB, free: 9.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.6252, allocations: 59.98 kB / 0.6412 GB, free: 9.559 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.0002257/0.6254, allocations: 177.5 kB / 0.6414 GB, free: 9.375 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.219e-05/0.6255, allocations: 27.72 kB / 0.6414 GB, free: 9.348 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.6268, allocations: 0.6352 MB / 0.642 GB, free: 8.68 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.6269, allocations: 4 kB / 0.642 GB, free: 8.676 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6269, allocations: 4 kB / 0.642 GB, free: 8.672 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.6269, allocations: 7.984 kB / 0.642 GB, free: 8.664 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.6281, allocations: 0.8207 MB / 0.6428 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6281, allocations: 0 / 0.6428 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004474/0.6286, allocations: 99.86 kB / 0.6429 GB, free: 7.645 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.457e-06/0.6286, allocations: 4 kB / 0.6429 GB, free: 7.641 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.6286, allocations: 12.05 kB / 0.643 GB, free: 7.629 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006142/0.6292, allocations: 1.176 MB / 0.6441 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6293, allocations: 0 / 0.6441 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000459/0.6297, allocations: 361.9 kB / 0.6445 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.6299, allocations: 132.7 kB / 0.6446 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.6299, allocations: 8 kB / 0.6446 GB, free: 5.871 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002764/0.6302, allocations: 15.98 kB / 0.6446 GB, free: 5.855 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.6303, allocations: 27.84 kB / 0.6446 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.6303, allocations: 19.98 kB / 0.6446 GB, free: 5.809 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.6305, allocations: 180.5 kB / 0.6448 GB, free: 5.633 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6305, allocations: 0 / 0.6448 GB, free: 5.633 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00152/0.632, allocations: 483.6 kB / 0.6453 GB, free: 5.16 MB / 478.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.002306/0.6343, allocations: 0.7503 MB / 0.646 GB, free: 4.406 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008958/0.6353, allocations: 359.4 kB / 0.6464 GB, free: 4.059 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6353, allocations: 3.938 kB / 0.6464 GB, free: 4.055 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004105/0.6357, allocations: 143.8 kB / 0.6465 GB, free: 3.914 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008764/0.6366, allocations: 126.1 kB / 0.6466 GB, free: 3.793 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008707/0.6453, allocations: 5.603 MB / 0.6521 GB, free: 14.14 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.6457, allocations: 0.7659 MB / 0.6528 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003161/0.646, allocations: 87.31 kB / 0.6529 GB, free: 13.26 MB / 494.1 MB Notification: Performance of SimCode: time 6.82e-07/0.646, allocations: 0 / 0.6529 GB, free: 13.26 MB / 494.1 MB Notification: Performance of Templates: time 0.02059/0.6666, allocations: 13.48 MB / 0.6661 GB, free: 15.81 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 -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