Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.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.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 118.4 kB / 17.78 MB, free: 5.262 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.001302/0.001302, allocations: 183.8 kB / 18.71 MB, free: 4.34 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.469/1.469, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2174/0.2174, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 68.08 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.402/0.4037, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1777/0.5814, allocations: 136.1 MB / 0.6519 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005221/0.5867, allocations: 4.719 MB / 0.6565 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.5869, allocations: 0 / 0.6565 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.5873, allocations: 59.59 kB / 0.6566 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002044/0.5894, allocations: 0.7267 MB / 0.6573 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004049/0.5898, allocations: 167 kB / 0.6574 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005443/0.5904, allocations: 374.2 kB / 0.6578 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.5905, allocations: 9.688 kB / 0.6578 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002154/0.5907, allocations: 159.4 kB / 0.6579 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.591, allocations: 187.4 kB / 0.6581 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.591, allocations: 12 kB / 0.6581 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.5924, allocations: 0.6863 MB / 0.6588 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-05/0.5925, allocations: 43.83 kB / 0.6588 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.5926, allocations: 111.5 kB / 0.6589 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007646/0.5934, allocations: 464.5 kB / 0.6594 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5934, allocations: 4 kB / 0.6594 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5934, allocations: 0 / 0.6594 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.5934, allocations: 0 / 0.6594 GB, free: 11.73 MB / 0.5137 GB 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.001214/0.5946, allocations: 0.593 MB / 0.66 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.5947, allocations: 8.031 kB / 0.66 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/0.5949, allocations: 28.69 kB / 0.66 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002994/0.5952, allocations: 232 kB / 0.6602 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.5953, allocations: 123.9 kB / 0.6603 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.5954, allocations: 20.31 kB / 0.6604 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/0.5959, allocations: 326.8 kB / 0.6607 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.596, allocations: 4 kB / 0.6607 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.182e-05/0.596, allocations: 8 kB / 0.6607 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.701e-05/0.596, allocations: 7.984 kB / 0.6607 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009991/0.597, allocations: 0.7469 MB / 0.6614 GB, free: 9.512 MB / 0.5137 GB 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.001582/0.5986, allocations: 1.222 MB / 0.6626 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.5991, allocations: 171.7 kB / 0.6628 GB, free: 8 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001361/0.5992, allocations: 93.41 kB / 0.6629 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002523/0.6018, allocations: 2.691 MB / 0.6655 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.6018, allocations: 34.56 kB / 0.6655 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.803e-06/0.6018, allocations: 0 / 0.6655 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0007053/0.6026, allocations: 220.7 kB / 0.6657 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.6026, allocations: 55.41 kB / 0.6658 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.6029, allocations: 211 kB / 0.666 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.6029, allocations: 29.7 kB / 0.666 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.6031, allocations: 218.7 kB / 0.6662 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.6031, allocations: 55.34 kB / 0.6663 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.6033, allocations: 86.02 kB / 0.6664 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.6035, allocations: 326.8 kB / 0.6667 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-05/0.6036, allocations: 48.78 kB / 0.6667 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003921/0.604, allocations: 332 kB / 0.667 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005559/0.6045, allocations: 434 kB / 0.6675 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.6046, allocations: 8 kB / 0.6675 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006238/0.6052, allocations: 389.3 kB / 0.6678 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.6052, allocations: 8 kB / 0.6678 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/0.6053, allocations: 12 kB / 0.6679 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.977e-05/0.6053, allocations: 15.94 kB / 0.6679 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.6057, allocations: 103.8 kB / 0.668 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.857e-05/0.6057, allocations: 23.92 kB / 0.668 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.606, allocations: 12 kB / 0.668 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.606, allocations: 32.31 kB / 0.668 GB, free: 1.758 MB / 0.5137 GB 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.0001808/0.6062, allocations: 157.6 kB / 0.6682 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.6063, allocations: 15.81 kB / 0.6682 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003425/0.6066, allocations: 151.7 kB / 0.6683 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.6066, allocations: 8 kB / 0.6684 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.6066, allocations: 3.984 kB / 0.6684 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.6067, allocations: 0 / 0.6684 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.6073, allocations: 448 kB / 0.6688 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.6073, allocations: 3.984 kB / 0.6688 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.6074, allocations: 27.98 kB / 0.6688 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6074, allocations: 0 / 0.6688 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.6075, allocations: 64 / 0.6688 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.6075, allocations: 8 kB / 0.6688 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6075, allocations: 0 / 0.6688 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.6077, allocations: 220.9 kB / 0.669 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.6079, allocations: 104.8 kB / 0.6691 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.6079, allocations: 11.92 kB / 0.6691 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.6081, allocations: 8 kB / 0.6692 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.6081, allocations: 11.98 kB / 0.6692 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.6082, allocations: 15.97 kB / 0.6692 GB, free: 468 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001232/0.6083, allocations: 144.5 kB / 0.6693 GB, free: 328 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6083, allocations: 0 / 0.6693 GB, free: 328 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004998/0.6088, allocations: 95.98 kB / 0.6694 GB, free: 232 kB / 0.5137 GB 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.0003182/0.6091, allocations: 159.2 kB / 0.6696 GB, free: 64 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.6095, allocations: 185.7 kB / 0.6697 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.6095, allocations: 0 / 0.6697 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.559e-05/0.6096, allocations: 36.55 kB / 0.6698 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.6101, allocations: 52.67 kB / 0.6698 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.6111, allocations: 486.7 kB / 0.6703 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.6115, allocations: 0.7285 MB / 0.671 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002005/0.6117, allocations: 62.8 kB / 0.6711 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.302e-05/0.6118, allocations: 23.44 kB / 0.6711 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.6118, allocations: 0 / 0.6711 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of Templates: time 0.007152/0.619, allocations: 3.178 MB / 0.6742 GB, free: 11.3 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches