Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001395/0.001395, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001736/0.001736, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.09 MB / 344.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 75.88 kB / 482 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2942, allocations: 62.43 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1615/0.4557, allocations: 150.5 MB / 0.6786 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008527/0.4643, allocations: 5.608 MB / 0.6841 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.4654, allocations: 19.88 kB / 0.6841 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.4668, allocations: 314 kB / 0.6844 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.4694, allocations: 0.8589 MB / 0.6853 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002912/0.4723, allocations: 1.02 MB / 0.6863 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002401/0.4748, allocations: 1.805 MB / 0.688 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008661/0.4756, allocations: 465.7 kB / 0.6885 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001632/0.4773, allocations: 0.7824 MB / 0.6892 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.4787, allocations: 0.7164 MB / 0.6899 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.4789, allocations: 64 kB / 0.69 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.4804, allocations: 0.5303 MB / 0.6905 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003935/0.4808, allocations: 267.3 kB / 0.6908 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006646/0.4814, allocations: 398.2 kB / 0.6912 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001995/0.4834, allocations: 1.133 MB / 0.6923 GB, free: 12.84 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4835, allocations: 4 kB / 0.6923 GB, free: 12.84 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4835, allocations: 0 / 0.6923 GB, free: 12.84 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.4835, allocations: 0 / 0.6923 GB, free: 12.84 MB / 0.545 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.002126/0.4856, allocations: 1.059 MB / 0.6933 GB, free: 11.73 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.4857, allocations: 8.031 kB / 0.6933 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003717/0.4861, allocations: 96.08 kB / 0.6934 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008274/0.4869, allocations: 0.5327 MB / 0.6939 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.487, allocations: 101 kB / 0.694 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.388e-05/0.4871, allocations: 52.31 kB / 0.6941 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.4884, allocations: 0.8188 MB / 0.6949 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.4884, allocations: 3.938 kB / 0.6949 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.964e-05/0.4885, allocations: 24 kB / 0.6949 GB, free: 9.988 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.626e-05/0.4885, allocations: 36.98 kB / 0.6949 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.4895, allocations: 0.6595 MB / 0.6956 GB, free: 9.289 MB / 0.545 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.004548/0.4941, allocations: 3.96 MB / 0.6994 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007702/0.4949, allocations: 430.5 kB / 0.6999 GB, free: 4.621 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.4952, allocations: 197.4 kB / 0.7 GB, free: 4.426 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/0.4959, allocations: 0.7366 MB / 0.7008 GB, free: 3.523 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.4959, allocations: 38.89 kB / 0.7008 GB, free: 3.477 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.285e-06/0.4959, allocations: 0 / 0.7008 GB, free: 3.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003194/0.4991, allocations: 1.542 MB / 0.7023 GB, free: 1.863 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.937e-05/0.4992, allocations: 144.4 kB / 0.7024 GB, free: 1.691 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006601/0.4999, allocations: 0.5731 MB / 0.703 GB, free: 1.105 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.5, allocations: 37.7 kB / 0.703 GB, free: 1.062 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.5002, allocations: 355 kB / 0.7034 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.5003, allocations: 157.8 kB / 0.7035 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.5006, allocations: 138.5 kB / 0.7037 GB, free: 424 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5007, allocations: 374.8 kB / 0.704 GB, free: 40 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003713/0.5011, allocations: 213.9 kB / 0.7042 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000571/0.5017, allocations: 0.5123 MB / 0.7047 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009788/0.5027, allocations: 0.7679 MB / 0.7055 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.5027, allocations: 4 kB / 0.7055 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001632/0.5043, allocations: 0.906 MB / 0.7064 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5044, allocations: 15.92 kB / 0.7064 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.5044, allocations: 8 kB / 0.7064 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.5058, allocations: 281 kB / 0.7066 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.5062, allocations: 127.8 kB / 0.7068 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.5072, allocations: 0.8884 MB / 0.7076 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/0.5077, allocations: 28 kB / 0.7077 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/0.5078, allocations: 39.98 kB / 0.7077 GB, free: 11.96 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0003607/0.5081, allocations: 245.5 kB / 0.7079 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.5083, allocations: 67.25 kB / 0.708 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.5096, allocations: 0.7712 MB / 0.7088 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/0.5096, allocations: 12.03 kB / 0.7088 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5097, allocations: 0 / 0.7088 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.022e-05/0.5097, allocations: 7.922 kB / 0.7088 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.5118, allocations: 1.409 MB / 0.7102 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.5118, allocations: 0 / 0.7102 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.5128, allocations: 207.7 kB / 0.7103 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.866e-05/0.513, allocations: 20.84 kB / 0.7104 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.513, allocations: 12 kB / 0.7104 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002106/0.5151, allocations: 2.881 MB / 0.7132 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.5151, allocations: 4.031 kB / 0.7132 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.5167, allocations: 1.009 MB / 0.7142 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003402/0.517, allocations: 208.1 kB / 0.7144 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/0.5172, allocations: 12 kB / 0.7144 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.5176, allocations: 15.98 kB / 0.7144 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.5177, allocations: 47.89 kB / 0.7145 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-05/0.5178, allocations: 23.98 kB / 0.7145 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005945/0.5184, allocations: 427 kB / 0.7149 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5184, allocations: 0 / 0.7149 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000904/0.5193, allocations: 220 kB / 0.7151 GB, free: 3.891 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005988/0.5199, allocations: 259.7 kB / 0.7153 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.5212, allocations: 0.6107 MB / 0.7159 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/0.5212, allocations: 7.859 kB / 0.7159 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.5222, allocations: 438.3 kB / 0.7164 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.524, allocations: 383.3 kB / 0.7167 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/0.5263, allocations: 1.417 MB / 0.7181 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.214/0.7404, allocations: 0.9299 MB / 0.719 GB, free: 182 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.7407, allocations: 72.55 kB / 0.7191 GB, free: 182 MB / 0.5606 GB Notification: Performance of SimCode: time 9.91e-07/0.7407, allocations: 0.5938 kB / 0.7191 GB, free: 182 MB / 0.5606 GB Notification: Performance of Templates: time 0.021/0.7618, allocations: 15.98 MB / 0.7347 GB, free: 174.3 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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