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.001851/0.001851, allocations: 114 kB / 20.43 MB, free: 1.457 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.002404/0.002404, allocations: 214.7 kB / 23.75 MB, free: 4.672 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.476/1.476, allocations: 230.5 MB / 257.4 MB, free: 8.004 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.2522/0.2522, allocations: 46.93 MB / 360.8 MB, free: 4.172 MB / 286.1 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002495/0.002495, allocations: 79.88 kB / 0.4962 GB, free: 7.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4308/0.4333, allocations: 66.08 MB / 0.5607 GB, free: 4.293 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.263/0.6963, allocations: 178 MB / 0.7346 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.3702/1.067, allocations: 5.376 MB / 0.7398 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008446/1.067, allocations: 27.28 kB / 0.7399 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001073/1.068, allocations: 327.2 kB / 0.7402 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003959/1.072, allocations: 1.369 MB / 0.7415 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/1.075, allocations: 1.086 MB / 0.7426 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002896/1.078, allocations: 1.884 MB / 0.7444 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005574/1.079, allocations: 395.9 kB / 0.7448 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/1.081, allocations: 1.116 MB / 0.7459 GB, free: 1.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/1.082, allocations: 0.7961 MB / 0.7467 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/1.082, allocations: 66.64 kB / 0.7467 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00179/1.084, allocations: 0.6434 MB / 0.7474 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003027/1.085, allocations: 270.4 kB / 0.7476 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005087/1.085, allocations: 395.1 kB / 0.748 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002013/1.087, allocations: 1.309 MB / 0.7493 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.087, allocations: 1.094 kB / 0.7493 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.693e-06/1.087, allocations: 0.9688 kB / 0.7493 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.853e-05/1.087, allocations: 0 / 0.7493 GB, free: 1.582 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.002394/1.089, allocations: 1.048 MB / 0.7503 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.09, allocations: 10.19 kB / 0.7503 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/1.09, allocations: 99.81 kB / 0.7504 GB, free: 17.01 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007615/1.09, allocations: 141.2 kB / 0.7505 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009071/1.091, allocations: 473.4 kB / 0.751 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/1.091, allocations: 154.7 kB / 0.7511 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.502e-05/1.092, allocations: 49.28 kB / 0.7512 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/1.093, allocations: 0.8176 MB / 0.752 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/1.093, allocations: 4.094 kB / 0.752 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.607e-05/1.093, allocations: 23.42 kB / 0.752 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/1.093, allocations: 42.22 kB / 0.752 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/1.094, allocations: 0.622 MB / 0.7527 GB, free: 16.43 MB / 0.5762 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.00431/1.098, allocations: 3.894 MB / 0.7565 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005033/1.098, allocations: 344.1 kB / 0.7568 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/1.099, allocations: 159.7 kB / 0.7569 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/1.099, allocations: 19.95 kB / 0.757 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/1.099, allocations: 37.11 kB / 0.757 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 2.896e-06/1.099, allocations: 0.8125 kB / 0.757 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005095/1.104, allocations: 1.605 MB / 0.7586 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/1.104, allocations: 137.8 kB / 0.7587 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006536/1.105, allocations: 0.6148 MB / 0.7593 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/1.105, allocations: 37.31 kB / 0.7593 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/1.105, allocations: 376.5 kB / 0.7597 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/1.105, allocations: 149.5 kB / 0.7598 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/1.105, allocations: 155.5 kB / 0.76 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002104/1.105, allocations: 385.1 kB / 0.7603 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/1.106, allocations: 202 kB / 0.7605 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005809/1.106, allocations: 0.5113 MB / 0.761 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009546/1.107, allocations: 0.7544 MB / 0.7618 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.107, allocations: 4.75 kB / 0.7618 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001278/1.109, allocations: 0.8771 MB / 0.7626 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.109, allocations: 11.06 kB / 0.7626 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.109, allocations: 9.328 kB / 0.7627 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/1.11, allocations: 314.3 kB / 0.763 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/1.11, allocations: 121.5 kB / 0.7631 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/1.111, allocations: 0.9345 MB / 0.764 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005029/1.112, allocations: 26.16 kB / 0.764 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.75e-05/1.112, allocations: 67.89 kB / 0.7641 GB, free: 11.03 MB / 0.5762 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.0003718/1.112, allocations: 243.4 kB / 0.7643 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/1.112, allocations: 78.17 kB / 0.7644 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/1.114, allocations: 0.864 MB / 0.7652 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.114, allocations: 4.594 kB / 0.7652 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/1.114, allocations: 2.75 kB / 0.7652 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/1.114, allocations: 4.703 kB / 0.7652 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/1.116, allocations: 1.212 MB / 0.7664 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.116, allocations: 0.9062 kB / 0.7664 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000966/1.117, allocations: 208.3 kB / 0.7666 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.866e-05/1.117, allocations: 23.47 kB / 0.7666 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/1.117, allocations: 21.08 kB / 0.7667 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002281/1.119, allocations: 2.68 MB / 0.7693 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.119, allocations: 2.938 kB / 0.7693 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/1.12, allocations: 0.8185 MB / 0.7701 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000304/1.121, allocations: 123.4 kB / 0.7702 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.074e-05/1.121, allocations: 9.156 kB / 0.7702 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003598/1.121, allocations: 15.28 kB / 0.7702 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/1.121, allocations: 41 kB / 0.7703 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-05/1.121, allocations: 44.98 kB / 0.7703 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005368/1.122, allocations: 437.2 kB / 0.7707 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/1.122, allocations: 1.094 kB / 0.7707 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001136/1.123, allocations: 259.5 kB / 0.771 GB, free: 7.543 MB / 0.5762 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.002066/1.125, allocations: 1.545 MB / 0.7725 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001051/1.126, allocations: 0.5357 MB / 0.773 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.126, allocations: 7.781 kB / 0.773 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009119/1.127, allocations: 403.6 kB / 0.7734 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/1.129, allocations: 369.3 kB / 0.7737 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008369/1.137, allocations: 6.329 MB / 0.7799 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005394/1.137, allocations: 0.9372 MB / 0.7808 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001067/1.139, allocations: 461.3 kB / 0.7813 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004419/1.139, allocations: 292.8 kB / 0.7816 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/1.139, allocations: 0 / 0.7816 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06879/1.208, allocations: 25 MB / 0.806 GB, free: 6.867 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.51, allocations: 7.609 kB / 0.806 GB, free: 6.863 MB / 0.5919 GB " [Timeout remaining time 644] (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: 18.798434584168717]