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.001022/0.001022, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.001054/0.001054, allocations: 170 kB / 23.95 MB, free: 0.6133 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.8916/0.8916, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2424/0.2424, allocations: 32.79 MB / 293.5 MB, free: 1.234 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.453e-06/1.453e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.224e-05, allocations: 8.25 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.2665/0.2666, allocations: 130.2 MB / 0.5564 GB, free: 2.543 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004524/0.2711, allocations: 5.167 MB / 0.5615 GB, free: 13.38 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.2714, allocations: 27.75 kB / 0.5615 GB, free: 13.35 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.2721, allocations: 313.8 kB / 0.5618 GB, free: 13.04 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001126/0.2732, allocations: 0.9282 MB / 0.5627 GB, free: 12.11 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.2748, allocations: 1.07 MB / 0.5638 GB, free: 11.05 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001315/0.2761, allocations: 1.832 MB / 0.5656 GB, free: 9.211 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004379/0.2765, allocations: 398.6 kB / 0.5659 GB, free: 8.816 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009718/0.2775, allocations: 0.9972 MB / 0.5669 GB, free: 7.816 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006926/0.2782, allocations: 0.6974 MB / 0.5676 GB, free: 7.117 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.978e-05/0.2783, allocations: 60 kB / 0.5676 GB, free: 7.059 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000596/0.2789, allocations: 0.4911 MB / 0.5681 GB, free: 6.566 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.2791, allocations: 287.1 kB / 0.5684 GB, free: 6.285 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002014/0.2793, allocations: 287.3 kB / 0.5687 GB, free: 6.004 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009858/0.2803, allocations: 1.2 MB / 0.5698 GB, free: 4.801 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2803, allocations: 4 kB / 0.5698 GB, free: 4.797 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2803, allocations: 0 / 0.5698 GB, free: 4.797 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.2803, allocations: 0 / 0.5698 GB, free: 4.797 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.00129/0.2816, allocations: 0.9911 MB / 0.5708 GB, free: 3.773 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2816, allocations: 12.03 kB / 0.5708 GB, free: 3.762 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.455e-05/0.2817, allocations: 94.7 kB / 0.5709 GB, free: 3.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.2819, allocations: 92.45 kB / 0.571 GB, free: 3.57 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005531/0.2824, allocations: 497.9 kB / 0.5715 GB, free: 3.055 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.858e-05/0.2825, allocations: 156.3 kB / 0.5716 GB, free: 2.879 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.203e-05/0.2826, allocations: 52.36 kB / 0.5717 GB, free: 2.828 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000888/0.2835, allocations: 1.134 MB / 0.5728 GB, free: 1.543 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2835, allocations: 3.984 kB / 0.5728 GB, free: 1.539 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/0.2835, allocations: 27.94 kB / 0.5728 GB, free: 1.512 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.698e-05/0.2836, allocations: 36.98 kB / 0.5729 GB, free: 1.477 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006713/0.2842, allocations: 0.6478 MB / 0.5735 GB, free: 0.8281 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.002432/0.2867, allocations: 3.149 MB / 0.5766 GB, free: 13.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005163/0.2872, allocations: 412.2 kB / 0.577 GB, free: 13.16 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.2874, allocations: 189.4 kB / 0.5771 GB, free: 12.97 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/0.2875, allocations: 56.28 kB / 0.5772 GB, free: 12.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.2876, allocations: 46.88 kB / 0.5772 GB, free: 12.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 1.452e-06/0.2876, allocations: 0 / 0.5772 GB, free: 12.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.001884/0.2894, allocations: 1.394 MB / 0.5786 GB, free: 11.43 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.898e-05/0.2895, allocations: 136.5 kB / 0.5787 GB, free: 11.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004195/0.2899, allocations: 0.5887 MB / 0.5793 GB, free: 10.67 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.2899, allocations: 29.7 kB / 0.5793 GB, free: 10.64 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.2901, allocations: 359.9 kB / 0.5797 GB, free: 10.28 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.245e-05/0.2902, allocations: 174.5 kB / 0.5798 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.2903, allocations: 138.6 kB / 0.58 GB, free: 9.969 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2904, allocations: 374.8 kB / 0.5803 GB, free: 9.594 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.2907, allocations: 217.2 kB / 0.5805 GB, free: 9.383 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.2911, allocations: 0.5955 MB / 0.5811 GB, free: 8.633 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006728/0.2918, allocations: 0.7595 MB / 0.5819 GB, free: 7.746 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2918, allocations: 0 / 0.5819 GB, free: 7.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009769/0.2927, allocations: 0.9111 MB / 0.5827 GB, free: 6.828 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2928, allocations: 8 kB / 0.5828 GB, free: 6.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2928, allocations: 8 kB / 0.5828 GB, free: 6.812 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006739/0.2934, allocations: 296.6 kB / 0.583 GB, free: 6.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.2936, allocations: 123.8 kB / 0.5832 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006686/0.2943, allocations: 0.8778 MB / 0.584 GB, free: 5.496 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.2945, allocations: 27.98 kB / 0.584 GB, free: 5.469 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.2946, allocations: 39.2 kB / 0.5841 GB, free: 5.434 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.0002087/0.2948, allocations: 252 kB / 0.5843 GB, free: 5.18 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.021e-05/0.2948, allocations: 71.52 kB / 0.5844 GB, free: 5.109 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007934/0.2956, allocations: 0.6997 MB / 0.5851 GB, free: 4.402 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.2956, allocations: 4 kB / 0.5851 GB, free: 4.398 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.2956, allocations: 4 kB / 0.5851 GB, free: 4.395 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.2956, allocations: 3.984 kB / 0.5851 GB, free: 4.391 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.2968, allocations: 1.241 MB / 0.5863 GB, free: 3.082 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2968, allocations: 4 kB / 0.5863 GB, free: 3.078 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000507/0.2973, allocations: 207.9 kB / 0.5865 GB, free: 2.875 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.063e-05/0.2974, allocations: 20.84 kB / 0.5865 GB, free: 2.852 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.2974, allocations: 19.98 kB / 0.5865 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.2986, allocations: 2.663 MB / 0.5891 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.2986, allocations: 4.031 kB / 0.5891 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008576/0.2995, allocations: 0.941 MB / 0.5901 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.2996, allocations: 131.5 kB / 0.5902 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.603e-05/0.2997, allocations: 16 kB / 0.5902 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.2999, allocations: 24.2 kB / 0.5902 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.2999, allocations: 35.88 kB / 0.5903 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.3, allocations: 23.98 kB / 0.5903 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003082/0.3003, allocations: 427 kB / 0.5907 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.3003, allocations: 0 / 0.5907 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004656/0.3007, allocations: 223.8 kB / 0.5909 GB, free: 14.11 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.001298/0.302, allocations: 1.628 MB / 0.5925 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007263/0.3028, allocations: 0.5867 MB / 0.5931 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3028, allocations: 0 / 0.5931 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005511/0.3033, allocations: 447.3 kB / 0.5935 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008985/0.3042, allocations: 373.7 kB / 0.5939 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005807/0.31, allocations: 6.414 MB / 0.6001 GB, free: 4.258 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.3102, allocations: 341.4 kB / 0.6004 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003771/0.3106, allocations: 215.6 kB / 0.6006 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.3108, allocations: 236.4 kB / 0.6009 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.3108, allocations: 0 / 0.6009 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.3438, allocations: 24.11 MB / 0.6244 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.741/9.084, allocations: 11.88 kB / 0.6244 GB, free: 11.76 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.csv","/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: 11.32413586229086]