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.001359/0.001359, allocations: 109.4 kB / 18.39 MB, free: 4.785 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.001337/0.001337, allocations: 192 kB / 19.33 MB, free: 3.852 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.394/1.394, allocations: 222.9 MB / 243 MB, free: 15.16 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.2184/0.2184, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 65.53 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.147, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.439/0.586, allocations: 136.1 MB / 0.5926 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005238/0.5913, allocations: 4.713 MB / 0.5972 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001441/0.5915, allocations: 0 / 0.5972 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004052/0.5919, allocations: 59.61 kB / 0.5973 GB, free: 3.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002087/0.594, allocations: 0.7228 MB / 0.598 GB, free: 2.594 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.5945, allocations: 167 kB / 0.5981 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000535/0.595, allocations: 370.2 kB / 0.5985 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.081e-05/0.5951, allocations: 9.688 kB / 0.5985 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002401/0.5953, allocations: 163.4 kB / 0.5987 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.5956, allocations: 191.4 kB / 0.5988 GB, free: 1.719 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.5957, allocations: 11.94 kB / 0.5988 GB, free: 1.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.5971, allocations: 0.6824 MB / 0.5995 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.606e-05/0.5972, allocations: 39.88 kB / 0.5995 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.5974, allocations: 111.4 kB / 0.5997 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007679/0.5982, allocations: 468.6 kB / 0.6001 GB, free: 432 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.5982, allocations: 3.984 kB / 0.6001 GB, free: 428 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5982, allocations: 0 / 0.6001 GB, free: 428 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.5982, allocations: 0 / 0.6001 GB, free: 428 kB / 430.1 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.001266/0.5995, allocations: 0.5897 MB / 0.6007 GB, free: 15.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.5995, allocations: 8.031 kB / 0.6007 GB, free: 15.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.5997, allocations: 32.73 kB / 0.6007 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004583/0.6002, allocations: 228 kB / 0.6009 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.6003, allocations: 119.9 kB / 0.6011 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.6004, allocations: 24.56 kB / 0.6011 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005617/0.601, allocations: 326.7 kB / 0.6014 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.601, allocations: 4 kB / 0.6014 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/0.601, allocations: 8 kB / 0.6014 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.651e-05/0.6011, allocations: 9.625 kB / 0.6014 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008947/0.602, allocations: 0.7507 MB / 0.6021 GB, free: 14.2 MB / 446.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.001413/0.6034, allocations: 1.222 MB / 0.6033 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.6038, allocations: 168.8 kB / 0.6035 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.6039, allocations: 85.48 kB / 0.6036 GB, free: 12.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002669/0.6066, allocations: 2.707 MB / 0.6062 GB, free: 9.383 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.6067, allocations: 34.56 kB / 0.6063 GB, free: 9.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/0.6067, allocations: 4 kB / 0.6063 GB, free: 9.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006868/0.6074, allocations: 211.5 kB / 0.6065 GB, free: 9.125 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.6074, allocations: 59.34 kB / 0.6065 GB, free: 9.055 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.6076, allocations: 215 kB / 0.6067 GB, free: 8.836 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.6077, allocations: 33.7 kB / 0.6068 GB, free: 8.797 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/0.6078, allocations: 214.7 kB / 0.607 GB, free: 8.578 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.6079, allocations: 47.36 kB / 0.607 GB, free: 8.531 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.608, allocations: 90.02 kB / 0.6071 GB, free: 8.438 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.6082, allocations: 330.8 kB / 0.6074 GB, free: 8.105 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.818e-05/0.6083, allocations: 48.84 kB / 0.6075 GB, free: 8.059 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.6086, allocations: 328 kB / 0.6078 GB, free: 7.602 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.6091, allocations: 434 kB / 0.6082 GB, free: 7.039 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.101e-06/0.6091, allocations: 4.875 kB / 0.6082 GB, free: 7.035 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000567/0.6097, allocations: 378.8 kB / 0.6085 GB, free: 6.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.6097, allocations: 8 kB / 0.6086 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.6097, allocations: 8 kB / 0.6086 GB, free: 6.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/0.6097, allocations: 16 kB / 0.6086 GB, free: 6.629 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.6101, allocations: 111.8 kB / 0.6087 GB, free: 6.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.006e-05/0.6101, allocations: 16.53 kB / 0.6087 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.6103, allocations: 24 kB / 0.6087 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.6104, allocations: 32.98 kB / 0.6087 GB, free: 6.449 MB / 446.1 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.0001303/0.6105, allocations: 153.5 kB / 0.6089 GB, free: 6.289 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.6106, allocations: 23.72 kB / 0.6089 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003429/0.6109, allocations: 144 kB / 0.6091 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.6109, allocations: 7.938 kB / 0.6091 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.611, allocations: 0 / 0.6091 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.611, allocations: 0 / 0.6091 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/0.6116, allocations: 439.9 kB / 0.6095 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.6116, allocations: 4 kB / 0.6095 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.6117, allocations: 28.8 kB / 0.6095 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.6117, allocations: 8.062 kB / 0.6095 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.6118, allocations: 3.984 kB / 0.6095 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6118, allocations: 0 / 0.6095 GB, free: 5.578 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6118, allocations: 4 kB / 0.6095 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.612, allocations: 222.1 kB / 0.6097 GB, free: 5.336 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.449e-05/0.6121, allocations: 104.8 kB / 0.6098 GB, free: 5.215 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.6122, allocations: 13.06 kB / 0.6099 GB, free: 5.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.6124, allocations: 15.97 kB / 0.6099 GB, free: 5.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.412e-05/0.6124, allocations: 7.984 kB / 0.6099 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.6124, allocations: 8 kB / 0.6099 GB, free: 5.172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.6125, allocations: 152.4 kB / 0.61 GB, free: 5.023 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6125, allocations: 0 / 0.61 GB, free: 5.023 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004662/0.613, allocations: 92 kB / 0.6101 GB, free: 4.934 MB / 446.1 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.0002952/0.6133, allocations: 159.1 kB / 0.6103 GB, free: 4.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.6136, allocations: 182.2 kB / 0.6104 GB, free: 4.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6136, allocations: 0 / 0.6104 GB, free: 4.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.542e-05/0.6137, allocations: 39.98 kB / 0.6105 GB, free: 4.551 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.6141, allocations: 53.41 kB / 0.6105 GB, free: 4.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008125/0.6149, allocations: 488.2 kB / 0.611 GB, free: 3.988 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.6153, allocations: 0.7322 MB / 0.6117 GB, free: 3.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001792/0.6154, allocations: 50.83 kB / 0.6118 GB, free: 3.184 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.6155, allocations: 39.42 kB / 0.6118 GB, free: 3.145 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.6155, allocations: 0 / 0.6118 GB, free: 3.145 MB / 446.1 MB Notification: Performance of Templates: time 0.006399/0.6219, allocations: 3.141 MB / 0.6149 GB, free: 36 kB / 446.1 MB 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/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