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.0009706/0.0009712, allocations: 92.64 kB / 18 MB, free: 5.738 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.0008858/0.0008858, allocations: 179.4 kB / 18.91 MB, free: 4.871 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.326/1.326, allocations: 223.3 MB / 243 MB, free: 212 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.187/0.187, allocations: 44.25 MB / 338.3 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003357, allocations: 9.219 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 61.92 MB / 472.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3563/0.4735, allocations: 132.3 MB / 0.591 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005284/0.4789, allocations: 4.686 MB / 0.5956 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000188/0.4791, allocations: 4 kB / 0.5956 GB, free: 9.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.4795, allocations: 51.72 kB / 0.5956 GB, free: 9.129 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001958/0.4815, allocations: 0.6532 MB / 0.5963 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.4819, allocations: 159.7 kB / 0.5964 GB, free: 8.324 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006635/0.4826, allocations: 442.1 kB / 0.5968 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.366e-05/0.4827, allocations: 13.69 kB / 0.5968 GB, free: 7.879 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002869/0.483, allocations: 155.4 kB / 0.597 GB, free: 7.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003408/0.4833, allocations: 199.3 kB / 0.5972 GB, free: 7.531 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.4834, allocations: 4 kB / 0.5972 GB, free: 7.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.4848, allocations: 0.7135 MB / 0.5979 GB, free: 6.812 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.222e-05/0.4849, allocations: 47.75 kB / 0.5979 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.4851, allocations: 129.2 kB / 0.5981 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005798/0.4857, allocations: 321.3 kB / 0.5984 GB, free: 6.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4857, allocations: 0 / 0.5984 GB, free: 6.32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4857, allocations: 0 / 0.5984 GB, free: 6.32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.4857, allocations: 4 kB / 0.5984 GB, free: 6.316 MB / 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.001084/0.4868, allocations: 0.5451 MB / 0.5989 GB, free: 5.727 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.4868, allocations: 19.95 kB / 0.5989 GB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.487, allocations: 24.75 kB / 0.5989 GB, free: 5.684 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.4873, allocations: 220.1 kB / 0.5991 GB, free: 5.43 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.4874, allocations: 127.9 kB / 0.5993 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.4875, allocations: 16.56 kB / 0.5993 GB, free: 5.262 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.488, allocations: 326.7 kB / 0.5996 GB, free: 4.918 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.488, allocations: 0 / 0.5996 GB, free: 4.918 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.4881, allocations: 12 kB / 0.5996 GB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.4881, allocations: 4 kB / 0.5996 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007971/0.4889, allocations: 0.7469 MB / 0.6003 GB, free: 4.156 MB / 430.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.001378/0.4903, allocations: 1.222 MB / 0.6015 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.4907, allocations: 177 kB / 0.6017 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/0.4908, allocations: 84.55 kB / 0.6018 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002251/0.4931, allocations: 2.707 MB / 0.6044 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.4931, allocations: 42.5 kB / 0.6045 GB, free: 15.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.4931, allocations: 0 / 0.6045 GB, free: 15.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.000617/0.4938, allocations: 203.5 kB / 0.6047 GB, free: 15.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.4938, allocations: 59.34 kB / 0.6047 GB, free: 15.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001764/0.494, allocations: 222.9 kB / 0.6049 GB, free: 14.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.494, allocations: 29.64 kB / 0.605 GB, free: 14.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.4942, allocations: 218.8 kB / 0.6052 GB, free: 14.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.4942, allocations: 51.34 kB / 0.6052 GB, free: 14.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.952e-05/0.4943, allocations: 45.69 kB / 0.6053 GB, free: 14.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.967e-05/0.4944, allocations: 326.8 kB / 0.6056 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.4945, allocations: 48.84 kB / 0.6056 GB, free: 14.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.4947, allocations: 328 kB / 0.6059 GB, free: 13.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.4951, allocations: 437.9 kB / 0.6064 GB, free: 13.03 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.4952, allocations: 4 kB / 0.6064 GB, free: 13.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005368/0.4957, allocations: 381.6 kB / 0.6067 GB, free: 12.64 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.4957, allocations: 12 kB / 0.6067 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.4958, allocations: 8 kB / 0.6067 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.4958, allocations: 16 kB / 0.6068 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.4961, allocations: 107.8 kB / 0.6069 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.17e-05/0.4962, allocations: 19.92 kB / 0.6069 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.4964, allocations: 20 kB / 0.6069 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.4965, allocations: 28 kB / 0.6069 GB, free: 12.44 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.0001355/0.4966, allocations: 153.8 kB / 0.6071 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.676e-05/0.4967, allocations: 15.81 kB / 0.6071 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.497, allocations: 159.7 kB / 0.6072 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.497, allocations: 3.938 kB / 0.6072 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.497, allocations: 0 / 0.6072 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.497, allocations: 0 / 0.6072 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005469/0.4976, allocations: 444.1 kB / 0.6077 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4976, allocations: 3.938 kB / 0.6077 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.4977, allocations: 31.92 kB / 0.6077 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.4978, allocations: 0 / 0.6077 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.4978, allocations: 4.062 kB / 0.6077 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.4978, allocations: 4.625 kB / 0.6077 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4978, allocations: 0 / 0.6077 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.498, allocations: 216.9 kB / 0.6079 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.961e-05/0.4981, allocations: 112.8 kB / 0.608 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.4982, allocations: 3.062 kB / 0.608 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.4984, allocations: 23.97 kB / 0.608 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.486e-05/0.4984, allocations: 11.92 kB / 0.6081 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.4984, allocations: 8 kB / 0.6081 GB, free: 11.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00012/0.4986, allocations: 148.5 kB / 0.6082 GB, free: 11.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4986, allocations: 4 kB / 0.6082 GB, free: 11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004994/0.4991, allocations: 84 kB / 0.6083 GB, free: 10.92 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.0003361/0.4994, allocations: 167.7 kB / 0.6084 GB, free: 10.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003171/0.4997, allocations: 181.5 kB / 0.6086 GB, free: 10.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4998, allocations: 7.938 kB / 0.6086 GB, free: 10.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.239e-05/0.4998, allocations: 36.72 kB / 0.6087 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.5003, allocations: 48.47 kB / 0.6087 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009076/0.5012, allocations: 0.6196 MB / 0.6093 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.5015, allocations: 0.7287 MB / 0.61 GB, free: 9.062 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.847e-05/0.5016, allocations: 35.42 kB / 0.6101 GB, free: 9.027 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5016, allocations: 0 / 0.6101 GB, free: 9.027 MB / 446.1 MB Notification: Performance of Templates: time 0.006001/0.5076, allocations: 3.247 MB / 0.6132 GB, free: 5.793 MB / 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 -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