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.001404/0.001404, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 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.001506/0.001506, allocations: 214.2 kB / 24.52 MB, free: 3.918 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.384/1.384, allocations: 230.5 MB / 258.2 MB, free: 7.789 MB / 206.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.2104/0.2104, allocations: 46.95 MB / 361.6 MB, free: 4.035 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 75.88 kB / 0.4969 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3194, allocations: 66.08 MB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.188/0.5074, allocations: 153.7 MB / 0.7116 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007353/0.5147, allocations: 4.906 MB / 0.7164 GB, free: 4.824 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007927/0.5155, allocations: 27.75 kB / 0.7164 GB, free: 4.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001061/0.5166, allocations: 314 kB / 0.7167 GB, free: 4.488 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003807/0.5204, allocations: 1.368 MB / 0.718 GB, free: 3.117 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002834/0.5232, allocations: 1.062 MB / 0.7191 GB, free: 2.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002715/0.5259, allocations: 1.879 MB / 0.7209 GB, free: 176 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008964/0.5268, allocations: 389.6 kB / 0.7213 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002723/0.5296, allocations: 1.129 MB / 0.7224 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/0.5312, allocations: 0.7784 MB / 0.7231 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002704/0.5315, allocations: 60 kB / 0.7232 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.5331, allocations: 0.5696 MB / 0.7237 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004256/0.5335, allocations: 279.1 kB / 0.724 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006132/0.5341, allocations: 330.6 kB / 0.7243 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.5363, allocations: 1.304 MB / 0.7256 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.5363, allocations: 0 / 0.7256 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.483e-06/0.5363, allocations: 0 / 0.7256 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.154e-05/0.5364, allocations: 0 / 0.7256 GB, free: 11.34 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.002858/0.5392, allocations: 1.041 MB / 0.7266 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.5393, allocations: 12.03 kB / 0.7266 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.762e-05/0.5393, allocations: 13 kB / 0.7266 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001727/0.5395, allocations: 102.5 kB / 0.7267 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009073/0.5404, allocations: 143.4 kB / 0.7269 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009338/0.5413, allocations: 477.3 kB / 0.7273 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.5415, allocations: 159.8 kB / 0.7275 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.8e-05/0.5416, allocations: 48 kB / 0.7275 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.543, allocations: 1.136 MB / 0.7286 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.543, allocations: 7.938 kB / 0.7286 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.111e-05/0.5431, allocations: 27.92 kB / 0.7287 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.548e-05/0.5432, allocations: 36.98 kB / 0.7287 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.5442, allocations: 0.6283 MB / 0.7293 GB, free: 7.273 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.004216/0.5484, allocations: 3.297 MB / 0.7325 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005701/0.549, allocations: 339.7 kB / 0.7329 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002725/0.5493, allocations: 161.3 kB / 0.733 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.478e-05/0.5494, allocations: 20.27 kB / 0.733 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.5494, allocations: 38.84 kB / 0.7331 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.854e-06/0.5494, allocations: 0 / 0.7331 GB, free: 3.289 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.00526/0.5547, allocations: 1.617 MB / 0.7346 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.421e-05/0.5548, allocations: 132.5 kB / 0.7348 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006947/0.5554, allocations: 0.6095 MB / 0.7354 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.204e-05/0.5555, allocations: 37.69 kB / 0.7354 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.5558, allocations: 379.8 kB / 0.7358 GB, free: 428 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.5559, allocations: 146.8 kB / 0.7359 GB, free: 280 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002342/0.5561, allocations: 154.6 kB / 0.7361 GB, free: 120 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.2363/0.7925, allocations: 378.8 kB / 0.7364 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006424/0.7931, allocations: 201.6 kB / 0.7366 GB, free: 175.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007229/0.7938, allocations: 0.591 MB / 0.7372 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.795, allocations: 0.7472 MB / 0.7379 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/0.7951, allocations: 2.781 kB / 0.7379 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001975/0.797, allocations: 0.883 MB / 0.7388 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.7971, allocations: 10.47 kB / 0.7388 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.7971, allocations: 14.78 kB / 0.7388 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.7985, allocations: 309.9 kB / 0.7391 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.7988, allocations: 124.6 kB / 0.7392 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009259/0.7998, allocations: 0.93 MB / 0.7401 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005352/0.8003, allocations: 33.06 kB / 0.7402 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.334e-05/0.8004, allocations: 64.06 kB / 0.7402 GB, free: 173.5 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.0003313/0.8007, allocations: 250.6 kB / 0.7405 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.8008, allocations: 71.3 kB / 0.7405 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/0.8023, allocations: 0.8626 MB / 0.7414 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.8023, allocations: 5.594 kB / 0.7414 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.8023, allocations: 1.938 kB / 0.7414 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.8023, allocations: 1.781 kB / 0.7414 GB, free: 173 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001609/0.8039, allocations: 1.144 MB / 0.7425 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.8039, allocations: 7.5 kB / 0.7425 GB, free: 172.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009358/0.8048, allocations: 203.7 kB / 0.7427 GB, free: 172.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.538e-05/0.8049, allocations: 20.8 kB / 0.7427 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.8049, allocations: 23.89 kB / 0.7427 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001282/0.8062, allocations: 2.671 MB / 0.7453 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8062, allocations: 4.031 kB / 0.7453 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009366/0.8072, allocations: 0.8262 MB / 0.7462 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.8074, allocations: 119.3 kB / 0.7463 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.8075, allocations: 8 kB / 0.7463 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.8079, allocations: 19.8 kB / 0.7463 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.8079, allocations: 46.39 kB / 0.7463 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.808, allocations: 39.75 kB / 0.7464 GB, free: 168.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003809/0.8084, allocations: 436.2 kB / 0.7468 GB, free: 168 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.8084, allocations: 3.719 kB / 0.7468 GB, free: 168 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000757/0.8091, allocations: 257.6 kB / 0.747 GB, free: 167.8 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.001582/0.8107, allocations: 1.531 MB / 0.7485 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009626/0.8117, allocations: 0.5341 MB / 0.7491 GB, free: 165.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8117, allocations: 4 kB / 0.7491 GB, free: 165.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008229/0.8125, allocations: 401 kB / 0.7494 GB, free: 165.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.8139, allocations: 382.7 kB / 0.7498 GB, free: 165 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006082/0.82, allocations: 6.329 MB / 0.756 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.8202, allocations: 336.4 kB / 0.7563 GB, free: 158 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007815/0.821, allocations: 467.2 kB / 0.7568 GB, free: 157.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.8214, allocations: 287.3 kB / 0.757 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.22e-07/0.8214, allocations: 0 / 0.757 GB, free: 157.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04751/0.8689, allocations: 25.42 MB / 0.7819 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.7, allocations: 9.688 kB / 0.7819 GB, free: 132.1 MB / 0.5606 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 52.5] 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: 17.946904117939994]