Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 104.2 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2045/0.2045, allocations: 44.18 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 64.73 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1509, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4247/0.5757, allocations: 174.3 MB / 0.6286 GB, free: 2.184 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006634/0.5823, allocations: 5.334 MB / 0.6338 GB, free: 12.84 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006459/0.583, allocations: 19.88 kB / 0.6338 GB, free: 12.82 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000908/0.584, allocations: 321.9 kB / 0.6341 GB, free: 12.5 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003308/0.5873, allocations: 1.325 MB / 0.6354 GB, free: 11.17 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.5898, allocations: 1.064 MB / 0.6365 GB, free: 10.12 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002124/0.592, allocations: 1.844 MB / 0.6383 GB, free: 8.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000809/0.5928, allocations: 460.6 kB / 0.6387 GB, free: 7.816 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.5952, allocations: 1.063 MB / 0.6397 GB, free: 6.75 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.5967, allocations: 0.7626 MB / 0.6405 GB, free: 5.984 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.5969, allocations: 64 kB / 0.6406 GB, free: 5.922 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.5985, allocations: 0.5696 MB / 0.6411 GB, free: 5.352 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003327/0.5988, allocations: 267.3 kB / 0.6414 GB, free: 5.09 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005434/0.5994, allocations: 394.2 kB / 0.6417 GB, free: 4.703 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002026/0.6014, allocations: 1.297 MB / 0.643 GB, free: 3.402 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6014, allocations: 0 / 0.643 GB, free: 3.402 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.6014, allocations: 4 kB / 0.643 GB, free: 3.398 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.095e-05/0.6015, allocations: 0 / 0.643 GB, free: 3.398 MB / 478.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.002664/0.6042, allocations: 1.095 MB / 0.6441 GB, free: 2.25 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.6042, allocations: 8.031 kB / 0.6441 GB, free: 2.242 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001503/0.6044, allocations: 98.52 kB / 0.6442 GB, free: 2.137 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008404/0.6052, allocations: 138.6 kB / 0.6443 GB, free: 2.004 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007786/0.606, allocations: 0.5079 MB / 0.6448 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.855e-05/0.6061, allocations: 100.4 kB / 0.6449 GB, free: 1.344 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/0.6062, allocations: 55.98 kB / 0.645 GB, free: 1.289 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.6075, allocations: 0.8136 MB / 0.6458 GB, free: 416 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.6076, allocations: 3.938 kB / 0.6458 GB, free: 412 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-05/0.6076, allocations: 27.94 kB / 0.6458 GB, free: 384 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-05/0.6077, allocations: 40.98 kB / 0.6458 GB, free: 344 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.6088, allocations: 0.6166 MB / 0.6464 GB, free: 15.71 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.004809/0.6136, allocations: 3.98 MB / 0.6503 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.6143, allocations: 361.8 kB / 0.6507 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.6146, allocations: 165.3 kB / 0.6508 GB, free: 10.95 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.6147, allocations: 93.38 kB / 0.6509 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.6148, allocations: 38.84 kB / 0.6509 GB, free: 10.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.705e-06/0.6148, allocations: 0 / 0.6509 GB, free: 10.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005716/0.6205, allocations: 1.667 MB / 0.6526 GB, free: 9.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.561e-05/0.6206, allocations: 140.4 kB / 0.6527 GB, free: 8.891 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006881/0.6213, allocations: 0.621 MB / 0.6533 GB, free: 8.262 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.134e-05/0.6213, allocations: 29.7 kB / 0.6533 GB, free: 8.227 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002512/0.6216, allocations: 366.9 kB / 0.6537 GB, free: 7.863 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.6217, allocations: 150 kB / 0.6538 GB, free: 7.715 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002159/0.622, allocations: 154.5 kB / 0.654 GB, free: 7.559 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6221, allocations: 374.8 kB / 0.6543 GB, free: 7.184 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003902/0.6225, allocations: 201.9 kB / 0.6545 GB, free: 6.984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000536/0.6231, allocations: 0.5203 MB / 0.655 GB, free: 6.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009304/0.624, allocations: 0.7474 MB / 0.6558 GB, free: 5.434 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.624, allocations: 4 kB / 0.6558 GB, free: 5.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001432/0.6254, allocations: 0.8879 MB / 0.6566 GB, free: 4.531 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6255, allocations: 8 kB / 0.6566 GB, free: 4.523 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.6255, allocations: 16.12 kB / 0.6567 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.6269, allocations: 304.6 kB / 0.657 GB, free: 4.207 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.6273, allocations: 135.7 kB / 0.6571 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.6283, allocations: 0.9297 MB / 0.658 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/0.6288, allocations: 27.98 kB / 0.658 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.239e-05/0.6289, allocations: 64 kB / 0.6581 GB, free: 3.031 MB / 494.1 MB 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.0003115/0.6292, allocations: 249.5 kB / 0.6583 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.6294, allocations: 71.16 kB / 0.6584 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.6311, allocations: 0.8659 MB / 0.6592 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6312, allocations: 8 kB / 0.6592 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6312, allocations: 0 / 0.6592 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.6312, allocations: 3.984 kB / 0.6592 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.6331, allocations: 1.457 MB / 0.6607 GB, free: 224 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.175e-06/0.6331, allocations: 3.938 kB / 0.6607 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/0.6342, allocations: 215.7 kB / 0.6609 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001281/0.6344, allocations: 24.84 kB / 0.6609 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.531e-05/0.6344, allocations: 16.19 kB / 0.6609 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.6363, allocations: 2.877 MB / 0.6637 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.6363, allocations: 3.938 kB / 0.6637 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.6376, allocations: 0.8208 MB / 0.6645 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.6379, allocations: 192.3 kB / 0.6647 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.638, allocations: 12 kB / 0.6647 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004352/0.6384, allocations: 20.05 kB / 0.6647 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.922e-05/0.6385, allocations: 43.89 kB / 0.6648 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.126e-05/0.6386, allocations: 47.92 kB / 0.6648 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000503/0.6391, allocations: 439 kB / 0.6652 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6391, allocations: 0 / 0.6652 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008755/0.64, allocations: 252 kB / 0.6655 GB, free: 10.95 MB / 0.4981 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.002163/0.6422, allocations: 1.551 MB / 0.667 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001459/0.6437, allocations: 0.6016 MB / 0.6676 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.986e-06/0.6437, allocations: 4 kB / 0.6676 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/0.6447, allocations: 414.3 kB / 0.668 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.6467, allocations: 364.5 kB / 0.6683 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008575/0.6553, allocations: 6.559 MB / 0.6747 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004588/0.6558, allocations: 0.9222 MB / 0.6756 GB, free: 88 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001262/0.6571, allocations: 469.2 kB / 0.6761 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005224/0.6576, allocations: 287.3 kB / 0.6764 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of SimCode: time 6.22e-07/0.6576, allocations: 0 / 0.6764 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1761/0.8337, allocations: 24.14 MB / 0.6999 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.77, allocations: 8 kB / 0.6999 GB, free: 7.516 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches