Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001312/0.001312, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2266/0.2266, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 71.89 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4507, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2149/0.6656, allocations: 177.3 MB / 0.7048 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008195/0.6739, allocations: 5.335 MB / 0.71 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009284/0.6749, allocations: 19.88 kB / 0.71 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.6762, allocations: 310 kB / 0.7103 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003987/0.6802, allocations: 1.268 MB / 0.7116 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.6831, allocations: 0.9746 MB / 0.7125 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002686/0.6858, allocations: 1.86 MB / 0.7143 GB, free: 6.008 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009298/0.6867, allocations: 461.4 kB / 0.7148 GB, free: 5.555 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002677/0.6894, allocations: 1.09 MB / 0.7159 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.6907, allocations: 0.6617 MB / 0.7165 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002201/0.691, allocations: 63.94 kB / 0.7166 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.6927, allocations: 0.6314 MB / 0.7172 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003924/0.6931, allocations: 259.3 kB / 0.7174 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006837/0.6938, allocations: 402.2 kB / 0.7178 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002366/0.6961, allocations: 1.301 MB / 0.7191 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.6961, allocations: 0 / 0.7191 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6962, allocations: 3.938 kB / 0.7191 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.686e-05/0.6962, allocations: 0 / 0.7191 GB, free: 1.148 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002803/0.699, allocations: 1.098 MB / 0.7202 GB, free: 0 / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 0.3595/1.058, allocations: 8.922 kB / 0.7202 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/1.06, allocations: 133.6 kB / 0.7203 GB, free: 186.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/1.061, allocations: 0.5342 MB / 0.7208 GB, free: 186.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/1.061, allocations: 104.5 kB / 0.7209 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/1.062, allocations: 47.91 kB / 0.721 GB, free: 186.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/1.063, allocations: 0.8145 MB / 0.7218 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/1.063, allocations: 1.75 kB / 0.7218 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-05/1.063, allocations: 30.58 kB / 0.7218 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/1.064, allocations: 42.31 kB / 0.7218 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/1.065, allocations: 0.6182 MB / 0.7224 GB, free: 185.5 MB / 0.5606 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.004207/1.069, allocations: 3.928 MB / 0.7263 GB, free: 182 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006049/1.07, allocations: 361.3 kB / 0.7266 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/1.07, allocations: 172 kB / 0.7268 GB, free: 181.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/1.07, allocations: 94.09 kB / 0.7269 GB, free: 181.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/1.07, allocations: 37.91 kB / 0.7269 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.655e-06/1.07, allocations: 0.6562 kB / 0.7269 GB, free: 181.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.006357/1.077, allocations: 1.676 MB / 0.7285 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/1.077, allocations: 143.7 kB / 0.7287 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008945/1.078, allocations: 0.6143 MB / 0.7293 GB, free: 180.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.765e-05/1.078, allocations: 37.17 kB / 0.7293 GB, free: 180 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002579/1.078, allocations: 361.6 kB / 0.7297 GB, free: 179.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/1.078, allocations: 141.4 kB / 0.7298 GB, free: 179.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002791/1.078, allocations: 164.2 kB / 0.7299 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.078, allocations: 371.4 kB / 0.7303 GB, free: 179.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/1.079, allocations: 212 kB / 0.7305 GB, free: 179 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005917/1.079, allocations: 0.5114 MB / 0.731 GB, free: 178.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/1.08, allocations: 0.7436 MB / 0.7317 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/1.08, allocations: 7.719 kB / 0.7317 GB, free: 177.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001602/1.082, allocations: 0.8878 MB / 0.7326 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/1.082, allocations: 13.5 kB / 0.7326 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/1.082, allocations: 10.75 kB / 0.7326 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/1.084, allocations: 310.4 kB / 0.7329 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/1.084, allocations: 122.3 kB / 0.733 GB, free: 177.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/1.085, allocations: 0.9328 MB / 0.7339 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006018/1.086, allocations: 30.58 kB / 0.734 GB, free: 176.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/1.086, allocations: 69.72 kB / 0.734 GB, free: 176.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0004093/1.086, allocations: 252.4 kB / 0.7343 GB, free: 176.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/1.086, allocations: 68.97 kB / 0.7344 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/1.088, allocations: 0.8611 MB / 0.7352 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.088, allocations: 3.969 kB / 0.7352 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.088, allocations: 4 kB / 0.7352 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/1.088, allocations: 0 / 0.7352 GB, free: 175.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/1.09, allocations: 1.459 MB / 0.7366 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.09, allocations: 0 / 0.7366 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009694/1.091, allocations: 209.9 kB / 0.7368 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.773e-05/1.091, allocations: 24.28 kB / 0.7368 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/1.091, allocations: 19.56 kB / 0.7369 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/1.093, allocations: 2.877 MB / 0.7397 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/1.093, allocations: 7.906 kB / 0.7397 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/1.094, allocations: 0.8104 MB / 0.7405 GB, free: 171 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/1.094, allocations: 192.3 kB / 0.7407 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.41e-05/1.094, allocations: 15.88 kB / 0.7407 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/1.094, allocations: 24.05 kB / 0.7407 GB, free: 170.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/1.094, allocations: 39.89 kB / 0.7407 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.307e-05/1.095, allocations: 43.98 kB / 0.7408 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004292/1.095, allocations: 439 kB / 0.7412 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.095, allocations: 0 / 0.7412 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009978/1.096, allocations: 255.4 kB / 0.7414 GB, free: 170 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008548/1.097, allocations: 309.1 kB / 0.7417 GB, free: 169.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001145/1.098, allocations: 0.554 MB / 0.7423 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.098, allocations: 5.219 kB / 0.7423 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008144/1.099, allocations: 411.4 kB / 0.7427 GB, free: 168.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.1, allocations: 365.2 kB / 0.743 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/1.102, allocations: 1.376 MB / 0.7444 GB, free: 167 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/1.103, allocations: 0.9222 MB / 0.7453 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003363/1.103, allocations: 123.4 kB / 0.7454 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of SimCode: time 7.32e-07/1.103, allocations: 0 / 0.7454 GB, free: 165.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.0207/1.124, allocations: 16.63 MB / 0.7616 GB, free: 149.4 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p