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.00149/0.00149, allocations: 110.5 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.097/2.097, allocations: 227.3 MB / 246.9 MB, free: 8.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4492/0.4492, allocations: 46.11 MB / 344.3 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 72.44 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2228, allocations: 62.45 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.8635/1.086, allocations: 175.5 MB / 0.6401 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01851/1.105, allocations: 5.481 MB / 0.6454 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/1.106, allocations: 27.75 kB / 0.6455 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/1.111, allocations: 270.5 kB / 0.6457 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00566/1.116, allocations: 1.128 MB / 0.6468 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00393/1.12, allocations: 0.868 MB / 0.6477 GB, free: 12.45 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005283/1.125, allocations: 2.73 MB / 0.6503 GB, free: 9.711 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/1.127, allocations: 397.5 kB / 0.6507 GB, free: 9.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003809/1.131, allocations: 0.9691 MB / 0.6516 GB, free: 8.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002102/1.133, allocations: 0.689 MB / 0.6523 GB, free: 7.648 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002348/1.133, allocations: 36 kB / 0.6524 GB, free: 7.613 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002593/1.136, allocations: 0.5301 MB / 0.6529 GB, free: 7.086 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005914/1.136, allocations: 251.2 kB / 0.6531 GB, free: 6.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008968/1.137, allocations: 378.2 kB / 0.6535 GB, free: 6.469 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002271/1.139, allocations: 0.955 MB / 0.6544 GB, free: 5.512 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.14, allocations: 0 / 0.6544 GB, free: 5.512 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.994e-06/1.14, allocations: 0 / 0.6544 GB, free: 5.512 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.949e-05/1.14, allocations: 0 / 0.6544 GB, free: 5.512 MB / 494.1 MB 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.004216/1.144, allocations: 1.106 MB / 0.6555 GB, free: 4.352 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.104e-05/1.144, allocations: 12.03 kB / 0.6555 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/1.146, allocations: 139 kB / 0.6556 GB, free: 4.203 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001451/1.147, allocations: 0.5041 MB / 0.6561 GB, free: 3.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/1.147, allocations: 104.4 kB / 0.6562 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/1.147, allocations: 53.95 kB / 0.6563 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002434/1.15, allocations: 0.8214 MB / 0.6571 GB, free: 2.598 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.517e-05/1.15, allocations: 7.922 kB / 0.6571 GB, free: 2.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001352/1.15, allocations: 20 kB / 0.6571 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.904e-05/1.15, allocations: 36.98 kB / 0.6571 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/1.152, allocations: 0.6204 MB / 0.6577 GB, free: 1.914 MB / 494.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.02504/1.177, allocations: 3.948 MB / 0.6616 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001278/1.179, allocations: 359.5 kB / 0.6619 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/1.179, allocations: 169.3 kB / 0.6621 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001967/1.179, allocations: 85.39 kB / 0.6622 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.273e-05/1.18, allocations: 38.84 kB / 0.6622 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 4.107e-06/1.18, allocations: 4 kB / 0.6622 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.01015/1.19, allocations: 1.67 MB / 0.6639 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.19, allocations: 136.5 kB / 0.664 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01185/1.202, allocations: 0.6133 MB / 0.6646 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001916/1.202, allocations: 33.7 kB / 0.6646 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004009/1.202, allocations: 366.9 kB / 0.665 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002615/1.203, allocations: 142 kB / 0.6651 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/1.203, allocations: 154.6 kB / 0.6653 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002133/1.203, allocations: 378.7 kB / 0.6656 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/1.204, allocations: 201.9 kB / 0.6658 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009079/1.205, allocations: 0.5163 MB / 0.6663 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/1.206, allocations: 0.7552 MB / 0.667 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.206, allocations: 0 / 0.667 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002469/1.209, allocations: 0.8908 MB / 0.6679 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/1.209, allocations: 9 kB / 0.6679 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/1.209, allocations: 8 kB / 0.6679 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002286/1.211, allocations: 324.5 kB / 0.6682 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006932/1.212, allocations: 116.7 kB / 0.6684 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/1.214, allocations: 0.9371 MB / 0.6693 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001961/1.215, allocations: 47.95 kB / 0.6693 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002305/1.216, allocations: 67.98 kB / 0.6694 GB, free: 5.246 MB / 0.4981 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.0006193/1.216, allocations: 241.8 kB / 0.6696 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/1.217, allocations: 67.25 kB / 0.6697 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002573/1.219, allocations: 0.8679 MB / 0.6705 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/1.219, allocations: 11.98 kB / 0.6705 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.219, allocations: 3.984 kB / 0.6705 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/1.219, allocations: 0 / 0.6705 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/1.222, allocations: 1.457 MB / 0.672 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.222, allocations: 0 / 0.672 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001523/1.224, allocations: 211.7 kB / 0.6722 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001334/1.224, allocations: 20.84 kB / 0.6722 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/1.224, allocations: 19.98 kB / 0.6722 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003161/1.227, allocations: 2.681 MB / 0.6748 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/1.227, allocations: 7.969 kB / 0.6748 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/1.23, allocations: 0.813 MB / 0.6756 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005069/1.23, allocations: 192.1 kB / 0.6758 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/1.23, allocations: 20 kB / 0.6758 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006487/1.231, allocations: 31.91 kB / 0.6759 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/1.231, allocations: 35.95 kB / 0.6759 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/1.231, allocations: 47.98 kB / 0.6759 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008149/1.232, allocations: 443 kB / 0.6764 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/1.232, allocations: 0 / 0.6764 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001444/1.233, allocations: 248 kB / 0.6766 GB, free: 13.38 MB / 0.5137 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.00172/1.235, allocations: 306.9 kB / 0.6769 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001765/1.237, allocations: 0.5544 MB / 0.6774 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.237, allocations: 0 / 0.6774 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/1.238, allocations: 408 kB / 0.6778 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/1.241, allocations: 348 kB / 0.6781 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004043/1.245, allocations: 1.585 MB / 0.6797 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007184/1.246, allocations: 0.9261 MB / 0.6806 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006946/1.247, allocations: 123.4 kB / 0.6807 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of SimCode: time 1.573e-06/1.247, allocations: 8 kB / 0.6807 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of Templates: time 0.03551/1.282, allocations: 16.53 MB / 0.6969 GB, free: 8.59 MB / 0.5294 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