Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 170.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8555/0.8555, allocations: 177.1 MB / 204.3 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.225/0.225, allocations: 32.78 MB / 293.5 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.718e-05, allocations: 2.281 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2671/0.2671, allocations: 130.2 MB / 0.5564 GB, free: 2.52 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00508/0.2722, allocations: 5.163 MB / 0.5615 GB, free: 13.36 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000494/0.2727, allocations: 31.75 kB / 0.5615 GB, free: 13.32 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007828/0.2735, allocations: 321.8 kB / 0.5618 GB, free: 13.01 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.2751, allocations: 0.9166 MB / 0.5627 GB, free: 12.09 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.2771, allocations: 1.07 MB / 0.5638 GB, free: 11.03 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001676/0.2787, allocations: 1.836 MB / 0.5656 GB, free: 9.188 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005393/0.2793, allocations: 390.6 kB / 0.5659 GB, free: 8.801 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.2805, allocations: 1.009 MB / 0.5669 GB, free: 7.789 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007375/0.2812, allocations: 0.7013 MB / 0.5676 GB, free: 7.086 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 8.333e-05/0.2813, allocations: 64 kB / 0.5677 GB, free: 7.023 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007647/0.2821, allocations: 494.9 kB / 0.5681 GB, free: 6.539 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.2823, allocations: 279.1 kB / 0.5684 GB, free: 6.266 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.2825, allocations: 287.3 kB / 0.5687 GB, free: 5.984 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.2836, allocations: 1.2 MB / 0.5698 GB, free: 4.781 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2836, allocations: 0 / 0.5698 GB, free: 4.781 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2836, allocations: 4 kB / 0.5698 GB, free: 4.777 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.2836, allocations: 4 kB / 0.5699 GB, free: 4.773 MB / 474.7 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.001426/0.285, allocations: 0.9905 MB / 0.5708 GB, free: 3.754 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2851, allocations: 16.03 kB / 0.5708 GB, free: 3.738 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.716e-05/0.2851, allocations: 94.7 kB / 0.5709 GB, free: 3.637 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002132/0.2854, allocations: 92.45 kB / 0.571 GB, free: 3.547 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.2859, allocations: 497.9 kB / 0.5715 GB, free: 3.031 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.951e-05/0.286, allocations: 156.3 kB / 0.5716 GB, free: 2.855 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.2861, allocations: 52.36 kB / 0.5717 GB, free: 2.805 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008742/0.287, allocations: 1.13 MB / 0.5728 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.287, allocations: 4 kB / 0.5728 GB, free: 1.52 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.287, allocations: 35.92 kB / 0.5728 GB, free: 1.484 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-05/0.2871, allocations: 40.92 kB / 0.5729 GB, free: 1.445 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/0.2877, allocations: 0.644 MB / 0.5735 GB, free: 0.8008 MB / 474.7 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.002498/0.2902, allocations: 3.14 MB / 0.5766 GB, free: 13.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000509/0.2907, allocations: 416.2 kB / 0.577 GB, free: 13.14 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.2909, allocations: 185.4 kB / 0.5771 GB, free: 12.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001569/0.2911, allocations: 64.28 kB / 0.5772 GB, free: 12.89 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.2911, allocations: 42.89 kB / 0.5772 GB, free: 12.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.2911, allocations: 0 / 0.5772 GB, free: 12.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.001872/0.293, allocations: 1.402 MB / 0.5786 GB, free: 11.41 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.293, allocations: 132.5 kB / 0.5787 GB, free: 11.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004176/0.2934, allocations: 0.5887 MB / 0.5793 GB, free: 10.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.2935, allocations: 29.7 kB / 0.5793 GB, free: 10.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.2936, allocations: 363.9 kB / 0.5797 GB, free: 10.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.869e-05/0.2937, allocations: 166.5 kB / 0.5798 GB, free: 10.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.2938, allocations: 142.6 kB / 0.58 GB, free: 9.945 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.2939, allocations: 370.8 kB / 0.5803 GB, free: 9.574 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/0.2942, allocations: 217.9 kB / 0.5805 GB, free: 9.359 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.2945, allocations: 0.5877 MB / 0.5811 GB, free: 8.617 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000605/0.2951, allocations: 0.765 MB / 0.5819 GB, free: 7.723 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2951, allocations: 4 kB / 0.5819 GB, free: 7.719 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.000942/0.2961, allocations: 0.9069 MB / 0.5828 GB, free: 6.805 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2961, allocations: 8 kB / 0.5828 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.2961, allocations: 8 kB / 0.5828 GB, free: 6.789 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000673/0.2968, allocations: 284.9 kB / 0.583 GB, free: 6.508 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.297, allocations: 127.8 kB / 0.5832 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006227/0.2976, allocations: 0.8896 MB / 0.584 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.2978, allocations: 24 kB / 0.5841 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.102e-05/0.2978, allocations: 41.27 kB / 0.5841 GB, free: 5.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.2981, allocations: 238.7 kB / 0.5843 GB, free: 5.168 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.2981, allocations: 75.56 kB / 0.5844 GB, free: 5.094 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007861/0.2989, allocations: 0.706 MB / 0.5851 GB, free: 4.383 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.2989, allocations: 4 kB / 0.5851 GB, free: 4.379 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2989, allocations: 3.984 kB / 0.5851 GB, free: 4.375 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2989, allocations: 0 / 0.5851 GB, free: 4.375 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.3001, allocations: 1.245 MB / 0.5863 GB, free: 3.062 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.3001, allocations: 7.938 kB / 0.5863 GB, free: 3.055 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.3006, allocations: 203.8 kB / 0.5865 GB, free: 2.855 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.301e-05/0.3006, allocations: 20.84 kB / 0.5865 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.3007, allocations: 16 kB / 0.5865 GB, free: 2.816 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.3018, allocations: 2.663 MB / 0.5891 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3018, allocations: 4.031 kB / 0.5891 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.3027, allocations: 0.9443 MB / 0.5901 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.3028, allocations: 127.5 kB / 0.5902 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.3028, allocations: 12 kB / 0.5902 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.303, allocations: 19.98 kB / 0.5902 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.3031, allocations: 43.86 kB / 0.5903 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.3031, allocations: 23.98 kB / 0.5903 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003091/0.3034, allocations: 432.2 kB / 0.5907 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.3034, allocations: 0 / 0.5907 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004695/0.3039, allocations: 219.8 kB / 0.5909 GB, free: 14.09 MB / 0.4948 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001273/0.3052, allocations: 1.632 MB / 0.5925 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007227/0.3059, allocations: 0.5838 MB / 0.5931 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3059, allocations: 0 / 0.5931 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005582/0.3065, allocations: 444.4 kB / 0.5935 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008894/0.3073, allocations: 382.6 kB / 0.5939 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005647/0.313, allocations: 6.408 MB / 0.6001 GB, free: 4.238 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.3132, allocations: 341.4 kB / 0.6004 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004013/0.3136, allocations: 211.8 kB / 0.6006 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.3138, allocations: 240.4 kB / 0.6009 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/0.3138, allocations: 0 / 0.6009 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0341/0.3479, allocations: 24.11 MB / 0.6244 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/8.652, allocations: 15.88 kB / 0.6244 GB, free: 11.73 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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: 10.780175607651472]