Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00211/0.00211, allocations: 100.5 kB / 17.85 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002895/0.002895, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.376/2.376, allocations: 227.4 MB / 246.9 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4468/0.4468, allocations: 46.1 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002923/0.002923, allocations: 79.41 kB / 417.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2035, allocations: 62.45 MB / 479.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.8322/1.036, allocations: 175.4 MB / 0.64 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01571/1.052, allocations: 5.473 MB / 0.6454 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001743/1.053, allocations: 31.75 kB / 0.6454 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002312/1.056, allocations: 278.5 kB / 0.6457 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008057/1.064, allocations: 1.224 MB / 0.6469 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006244/1.07, allocations: 0.9476 MB / 0.6478 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006483/1.077, allocations: 2.73 MB / 0.6505 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/1.078, allocations: 396.9 kB / 0.6508 GB, free: 9.168 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005236/1.084, allocations: 0.969 MB / 0.6518 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00346/1.087, allocations: 0.7823 MB / 0.6525 GB, free: 7.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000417/1.088, allocations: 32 kB / 0.6526 GB, free: 7.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00329/1.091, allocations: 0.534 MB / 0.6531 GB, free: 6.848 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008148/1.092, allocations: 239.3 kB / 0.6533 GB, free: 6.613 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001421/1.093, allocations: 374.2 kB / 0.6537 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003134/1.097, allocations: 0.9706 MB / 0.6546 GB, free: 5.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/1.097, allocations: 0 / 0.6546 GB, free: 5.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.296e-06/1.097, allocations: 0 / 0.6546 GB, free: 5.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.892e-05/1.097, allocations: 0 / 0.6546 GB, free: 5.273 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.005703/1.102, allocations: 1.106 MB / 0.6557 GB, free: 4.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.961e-05/1.103, allocations: 8.031 kB / 0.6557 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/1.105, allocations: 138.9 kB / 0.6559 GB, free: 3.969 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001993/1.107, allocations: 0.4963 MB / 0.6563 GB, free: 3.434 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002518/1.107, allocations: 104.4 kB / 0.6564 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002714/1.107, allocations: 51.91 kB / 0.6565 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003144/1.11, allocations: 0.8214 MB / 0.6573 GB, free: 2.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.011e-05/1.11, allocations: 3.984 kB / 0.6573 GB, free: 2.367 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/1.111, allocations: 24 kB / 0.6573 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001268/1.111, allocations: 44.92 kB / 0.6574 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/1.113, allocations: 0.6243 MB / 0.658 GB, free: 1.676 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.01081/1.124, allocations: 3.948 MB / 0.6618 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/1.126, allocations: 359.6 kB / 0.6622 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006104/1.126, allocations: 169.3 kB / 0.6623 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002261/1.126, allocations: 85.39 kB / 0.6624 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.944e-05/1.127, allocations: 42.83 kB / 0.6624 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=34): time 9.377e-06/1.127, allocations: 3.984 kB / 0.6625 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=39): time 0.01178/1.138, allocations: 1.677 MB / 0.6641 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/1.139, allocations: 136.5 kB / 0.6642 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/1.14, allocations: 0.6056 MB / 0.6648 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001466/1.141, allocations: 33.7 kB / 0.6648 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005296/1.141, allocations: 374.8 kB / 0.6652 GB, free: 9.855 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002941/1.141, allocations: 142 kB / 0.6653 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005308/1.142, allocations: 158.6 kB / 0.6655 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002703/1.142, allocations: 378.8 kB / 0.6658 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008315/1.143, allocations: 197.9 kB / 0.666 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/1.144, allocations: 0.5086 MB / 0.6665 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/1.146, allocations: 0.7592 MB / 0.6673 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.356e-05/1.146, allocations: 4 kB / 0.6673 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003251/1.15, allocations: 0.8875 MB / 0.6681 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.494e-05/1.15, allocations: 8 kB / 0.6682 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.794e-05/1.15, allocations: 12 kB / 0.6682 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002808/1.153, allocations: 312.9 kB / 0.6685 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009436/1.154, allocations: 123.8 kB / 0.6686 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/1.156, allocations: 0.9332 MB / 0.6695 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.157, allocations: 47.77 kB / 0.6695 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/1.157, allocations: 76.05 kB / 0.6696 GB, free: 4.992 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.0007879/1.158, allocations: 241.8 kB / 0.6698 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000359/1.159, allocations: 67.25 kB / 0.6699 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/1.162, allocations: 0.8615 MB / 0.6707 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/1.162, allocations: 7.984 kB / 0.6708 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/1.162, allocations: 0 / 0.6708 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/1.162, allocations: 0 / 0.6708 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003681/1.166, allocations: 1.469 MB / 0.6722 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/1.166, allocations: 0 / 0.6722 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002274/1.168, allocations: 212 kB / 0.6724 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002165/1.168, allocations: 24.78 kB / 0.6724 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/1.168, allocations: 23.98 kB / 0.6724 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003834/1.172, allocations: 2.689 MB / 0.6751 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-06/1.172, allocations: 0 / 0.6751 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002981/1.175, allocations: 0.8165 MB / 0.6759 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007936/1.176, allocations: 188.2 kB / 0.676 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003562/1.177, allocations: 15.94 kB / 0.6761 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.178, allocations: 32.03 kB / 0.6761 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/1.178, allocations: 39.89 kB / 0.6761 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/1.178, allocations: 43.98 kB / 0.6762 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001234/1.179, allocations: 439 kB / 0.6766 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.91e-07/1.179, allocations: 0 / 0.6766 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001996/1.181, allocations: 255.9 kB / 0.6768 GB, free: 13.12 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.001565/1.183, allocations: 298.1 kB / 0.6771 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002205/1.185, allocations: 0.5557 MB / 0.6777 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/1.185, allocations: 4 kB / 0.6777 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001804/1.187, allocations: 402.4 kB / 0.678 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/1.191, allocations: 347.9 kB / 0.6784 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/1.196, allocations: 1.594 MB / 0.6799 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009629/1.197, allocations: 0.9261 MB / 0.6808 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009868/1.198, allocations: 131.4 kB / 0.681 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of SimCode: time 2.174e-06/1.198, allocations: 0 / 0.681 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of Templates: time 0.04759/1.246, allocations: 16.52 MB / 0.6971 GB, free: 8.336 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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