Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_3_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.001304/0.001304, allocations: 110.6 kB / 16.41 MB, free: 6.449 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.001246/0.001246, allocations: 190.1 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.488/1.488, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2363/0.2363, allocations: 43.53 MB / 314.1 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002934/0.002934, allocations: 67.89 kB / 441.3 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1328, allocations: 57.78 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5124/0.6453, allocations: 179.7 MB / 0.6629 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009306/0.6547, allocations: 5.747 MB / 0.6685 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008828/0.6556, allocations: 19.88 kB / 0.6685 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.6567, allocations: 317.9 kB / 0.6688 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005185/0.662, allocations: 1.568 MB / 0.6703 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003869/0.6659, allocations: 1.252 MB / 0.6715 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003181/0.6691, allocations: 1.84 MB / 0.6733 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008807/0.67, allocations: 458.2 kB / 0.6738 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00342/0.6734, allocations: 1.23 MB / 0.675 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.675, allocations: 0.7432 MB / 0.6757 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001513/0.6752, allocations: 60 kB / 0.6758 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/0.6775, allocations: 0.8347 MB / 0.6766 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003412/0.6778, allocations: 271.2 kB / 0.6768 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005328/0.6784, allocations: 394.2 kB / 0.6772 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.6807, allocations: 1.425 MB / 0.6786 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6807, allocations: 0 / 0.6786 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.837e-06/0.6807, allocations: 4 kB / 0.6786 GB, free: 6.977 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.6808, allocations: 0 / 0.6786 GB, free: 6.977 MB / 0.5137 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.002503/0.6833, allocations: 1.152 MB / 0.6797 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.6833, allocations: 11.89 kB / 0.6797 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.6835, allocations: 102.5 kB / 0.6798 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000825/0.6843, allocations: 143.5 kB / 0.68 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009692/0.6853, allocations: 0.5395 MB / 0.6805 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/0.6854, allocations: 108.4 kB / 0.6806 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.6856, allocations: 44 kB / 0.6807 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.687, allocations: 0.8135 MB / 0.6814 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.6871, allocations: 0 / 0.6814 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.178e-05/0.6872, allocations: 27.98 kB / 0.6815 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-05/0.6872, allocations: 40.97 kB / 0.6815 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.6884, allocations: 0.6204 MB / 0.6821 GB, free: 3.195 MB / 0.5137 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.005274/0.6937, allocations: 3.978 MB / 0.686 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006307/0.6943, allocations: 351.6 kB / 0.6863 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.6946, allocations: 173.3 kB / 0.6865 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005253/0.6952, allocations: 362.1 kB / 0.6869 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/0.6952, allocations: 42.78 kB / 0.6869 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=34): time 2.405e-06/0.6952, allocations: 0 / 0.6869 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.005835/0.7011, allocations: 1.677 MB / 0.6885 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.7012, allocations: 140.5 kB / 0.6887 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007861/0.702, allocations: 0.6172 MB / 0.6893 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/0.7021, allocations: 37.7 kB / 0.6893 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.7024, allocations: 367.8 kB / 0.6897 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.7026, allocations: 146.8 kB / 0.6898 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.7028, allocations: 162.6 kB / 0.6899 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002329/0.7031, allocations: 374.8 kB / 0.6903 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.7034, allocations: 201.9 kB / 0.6905 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006593/0.7041, allocations: 0.5164 MB / 0.691 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/0.7052, allocations: 0.7523 MB / 0.6917 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.7052, allocations: 0 / 0.6917 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001614/0.7069, allocations: 0.8805 MB / 0.6926 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.7069, allocations: 8 kB / 0.6926 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.418e-05/0.7069, allocations: 12 kB / 0.6926 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001439/0.7084, allocations: 313 kB / 0.6929 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.7088, allocations: 131.7 kB / 0.693 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001269/0.7101, allocations: 0.9348 MB / 0.694 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004895/0.7106, allocations: 24 kB / 0.694 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.7107, allocations: 67.98 kB / 0.694 GB, free: 6.203 MB / 0.5294 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.000412/0.7111, allocations: 249.4 kB / 0.6943 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.7112, allocations: 71.52 kB / 0.6943 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.7127, allocations: 0.6901 MB / 0.695 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.7127, allocations: 4 kB / 0.695 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7127, allocations: 4 kB / 0.695 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.7127, allocations: 0 / 0.695 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/0.7152, allocations: 1.61 MB / 0.6966 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.7152, allocations: 0 / 0.6966 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.7163, allocations: 211.9 kB / 0.6968 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.7164, allocations: 24.84 kB / 0.6968 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.7165, allocations: 23.98 kB / 0.6968 GB, free: 3.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002612/0.7191, allocations: 2.869 MB / 0.6997 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7191, allocations: 0 / 0.6997 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001416/0.7205, allocations: 0.8171 MB / 0.7004 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000321/0.7209, allocations: 196.6 kB / 0.7006 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.865e-05/0.721, allocations: 15.98 kB / 0.7007 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003671/0.7214, allocations: 12 kB / 0.7007 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.7215, allocations: 40.02 kB / 0.7007 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.641e-05/0.7216, allocations: 47.92 kB / 0.7007 GB, free: 14.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0006177/0.7222, allocations: 443 kB / 0.7012 GB, free: 14.39 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7222, allocations: 0 / 0.7012 GB, free: 14.39 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001079/0.7233, allocations: 291.7 kB / 0.7014 GB, free: 14.11 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.002641/0.7259, allocations: 1.618 MB / 0.703 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001314/0.7273, allocations: 0.5588 MB / 0.7036 GB, free: 11.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.7273, allocations: 11.94 kB / 0.7036 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.7284, allocations: 418.3 kB / 0.704 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00169/0.7301, allocations: 366.2 kB / 0.7043 GB, free: 11.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009835/0.7399, allocations: 6.315 MB / 0.7105 GB, free: 4.406 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.7406, allocations: 0.9339 MB / 0.7114 GB, free: 3.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009531/0.7416, allocations: 266 kB / 0.7117 GB, free: 3.184 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004877/0.7421, allocations: 275.3 kB / 0.7119 GB, free: 2.914 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.7421, allocations: 0 / 0.7119 GB, free: 2.914 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09089/0.833, allocations: 25.39 MB / 0.7367 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.14/13.97, allocations: 15.84 kB / 0.7367 GB, free: 9.469 MB / 0.5762 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches