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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001953/0.001953, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002745/0.002745, allocations: 159.7 kB / 24.49 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 177.1 MB / 204.7 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 34.25 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 83.88 kB / 443.2 MB, free: 6.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3076, allocations: 66.06 MB / 0.4973 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.1833/0.491, allocations: 153.8 MB / 0.6475 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007404/0.4984, allocations: 4.914 MB / 0.6523 GB, free: 6.352 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003586/0.4987, allocations: 31.69 kB / 0.6523 GB, free: 6.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008568/0.4996, allocations: 302 kB / 0.6526 GB, free: 6.023 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003184/0.5028, allocations: 1.364 MB / 0.654 GB, free: 4.656 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.5053, allocations: 1.061 MB / 0.655 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002186/0.5075, allocations: 1.871 MB / 0.6568 GB, free: 1.723 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005646/0.508, allocations: 381.7 kB / 0.6572 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002011/0.51, allocations: 1.133 MB / 0.6583 GB, free: 216 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.5114, allocations: 0.7626 MB / 0.659 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.5115, allocations: 63.94 kB / 0.6591 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001177/0.5127, allocations: 0.55 MB / 0.6596 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003247/0.513, allocations: 283.1 kB / 0.6599 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.5134, allocations: 330.6 kB / 0.6602 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001698/0.5151, allocations: 1.308 MB / 0.6615 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5151, allocations: 0 / 0.6615 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5151, allocations: 0 / 0.6615 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.5151, allocations: 0 / 0.6615 GB, free: 12.92 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.002169/0.5173, allocations: 1.038 MB / 0.6625 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.5173, allocations: 12.03 kB / 0.6625 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008495/0.5182, allocations: 143.4 kB / 0.6627 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009151/0.5191, allocations: 485.3 kB / 0.6631 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.5193, allocations: 151.8 kB / 0.6633 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.834e-05/0.5194, allocations: 51.98 kB / 0.6633 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.5209, allocations: 1.14 MB / 0.6644 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.5209, allocations: 3.938 kB / 0.6644 GB, free: 9.668 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-05/0.521, allocations: 27.98 kB / 0.6645 GB, free: 9.641 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.845e-05/0.521, allocations: 40.92 kB / 0.6645 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.5221, allocations: 0.6127 MB / 0.6651 GB, free: 8.988 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.004382/0.5265, allocations: 3.22 MB / 0.6682 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006301/0.5272, allocations: 339.6 kB / 0.6686 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003036/0.5275, allocations: 161.3 kB / 0.6687 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.294e-05/0.5275, allocations: 8.281 kB / 0.6687 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.5276, allocations: 42.83 kB / 0.6688 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.553e-06/0.5276, allocations: 0 / 0.6688 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005843/0.5334, allocations: 1.601 MB / 0.6703 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/0.5335, allocations: 136.5 kB / 0.6705 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006534/0.5342, allocations: 0.5338 MB / 0.671 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.5342, allocations: 37.7 kB / 0.671 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003338/0.5346, allocations: 384.2 kB / 0.6714 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.5347, allocations: 150.7 kB / 0.6715 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/0.5349, allocations: 162.6 kB / 0.6717 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002665/0.5352, allocations: 366.8 kB / 0.672 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003986/0.5356, allocations: 201.9 kB / 0.6722 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006929/0.5363, allocations: 0.5919 MB / 0.6728 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/0.5374, allocations: 0.7553 MB / 0.6735 GB, free: 15.77 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.5374, allocations: 0 / 0.6735 GB, free: 15.77 MB / 0.5763 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001527/0.5389, allocations: 0.8686 MB / 0.6744 GB, free: 14.89 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.5389, allocations: 12 kB / 0.6744 GB, free: 14.88 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.5389, allocations: 8 kB / 0.6744 GB, free: 14.88 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0014/0.5403, allocations: 313.2 kB / 0.6747 GB, free: 14.57 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/0.5408, allocations: 119.8 kB / 0.6748 GB, free: 14.45 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.542, allocations: 0.946 MB / 0.6758 GB, free: 13.48 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004276/0.5424, allocations: 27.94 kB / 0.6758 GB, free: 13.45 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.5426, allocations: 67.98 kB / 0.6758 GB, free: 13.39 MB / 0.5763 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.0003568/0.5429, allocations: 249.6 kB / 0.6761 GB, free: 13.13 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.543, allocations: 59.62 kB / 0.6761 GB, free: 13.07 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.5447, allocations: 0.8657 MB / 0.677 GB, free: 12.19 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5447, allocations: 4 kB / 0.677 GB, free: 12.18 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.5447, allocations: 0 / 0.677 GB, free: 12.18 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5448, allocations: 3.984 kB / 0.677 GB, free: 12.18 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.5467, allocations: 1.087 MB / 0.6781 GB, free: 11.04 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.5467, allocations: 7.938 kB / 0.6781 GB, free: 11.03 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.5478, allocations: 199.8 kB / 0.6783 GB, free: 10.84 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.452e-05/0.5479, allocations: 32.77 kB / 0.6783 GB, free: 10.8 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.5479, allocations: 24.19 kB / 0.6783 GB, free: 10.78 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.5502, allocations: 2.617 MB / 0.6809 GB, free: 7.961 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.5502, allocations: 8.094 kB / 0.6809 GB, free: 7.953 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.5515, allocations: 0.8184 MB / 0.6817 GB, free: 7.094 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.5518, allocations: 99.61 kB / 0.6818 GB, free: 6.996 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.79e-05/0.5518, allocations: 11.94 kB / 0.6818 GB, free: 6.984 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003744/0.5522, allocations: 23.98 kB / 0.6818 GB, free: 6.961 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/0.5523, allocations: 43.88 kB / 0.6818 GB, free: 6.918 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.439e-05/0.5524, allocations: 43.98 kB / 0.6819 GB, free: 6.875 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0004449/0.5528, allocations: 358.8 kB / 0.6822 GB, free: 6.527 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.5528, allocations: 0 / 0.6822 GB, free: 6.527 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0008695/0.5537, allocations: 259.8 kB / 0.6825 GB, free: 6.273 MB / 0.5763 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.0006154/0.5543, allocations: 278.3 kB / 0.6827 GB, free: 5.996 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.5554, allocations: 0.5392 MB / 0.6833 GB, free: 5.457 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.5554, allocations: 0 / 0.6833 GB, free: 5.457 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.5565, allocations: 402.3 kB / 0.6836 GB, free: 5.051 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/0.5579, allocations: 301.7 kB / 0.6839 GB, free: 4.762 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002205/0.5601, allocations: 1.351 MB / 0.6853 GB, free: 3.363 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.5605, allocations: 332.3 kB / 0.6856 GB, free: 3.012 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.0009737/0.5615, allocations: 442.4 kB / 0.686 GB, free: 2.578 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003058/0.5618, allocations: 108.5 kB / 0.6861 GB, free: 2.473 MB / 0.5763 GB Notification: Performance of SimCode: time 5.31e-07/0.5618, allocations: 0 / 0.6861 GB, free: 2.473 MB / 0.5763 GB Notification: Performance of Templates: time 0.2269/0.7887, allocations: 15.74 MB / 0.7015 GB, free: 165 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.048453988973051]