Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.000872/0.000872, 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.000841/0.000841, allocations: 170 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.8813/0.8813, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2746/0.2746, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.657e-06/3.657e-06, allocations: 0 / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/3.216e-05, allocations: 9.172 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.3058/0.3058, allocations: 130.2 MB / 0.559 GB, free: 14.41 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004481/0.3103, allocations: 5.173 MB / 0.564 GB, free: 9.23 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002658/0.3105, allocations: 27.69 kB / 0.564 GB, free: 9.203 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006637/0.3112, allocations: 313.9 kB / 0.5643 GB, free: 8.895 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009972/0.3122, allocations: 0.9127 MB / 0.5652 GB, free: 7.977 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.3135, allocations: 1.083 MB / 0.5663 GB, free: 6.902 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001124/0.3147, allocations: 1.828 MB / 0.5681 GB, free: 5.07 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003691/0.315, allocations: 401.5 kB / 0.5685 GB, free: 4.672 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001098/0.3161, allocations: 0.9933 MB / 0.5694 GB, free: 3.676 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000632/0.3168, allocations: 0.6974 MB / 0.5701 GB, free: 2.977 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 7.561e-05/0.3168, allocations: 64 kB / 0.5702 GB, free: 2.914 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000607/0.3175, allocations: 490.9 kB / 0.5706 GB, free: 2.434 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.3176, allocations: 291.1 kB / 0.5709 GB, free: 2.148 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.3178, allocations: 279.4 kB / 0.5712 GB, free: 1.875 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009361/0.3188, allocations: 1.207 MB / 0.5724 GB, free: 0.6641 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3188, allocations: 4 kB / 0.5724 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3188, allocations: 3.938 kB / 0.5724 GB, free: 0.6562 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.3188, allocations: 0 / 0.5724 GB, free: 0.6562 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.001398/0.3202, allocations: 0.995 MB / 0.5733 GB, free: 15.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.3202, allocations: 12.03 kB / 0.5734 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.613e-05/0.3203, allocations: 98.69 kB / 0.5735 GB, free: 15.51 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.3205, allocations: 92.45 kB / 0.5735 GB, free: 15.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005965/0.3211, allocations: 478 kB / 0.574 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.3212, allocations: 160.3 kB / 0.5742 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.3213, allocations: 48.38 kB / 0.5742 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009182/0.3222, allocations: 1.139 MB / 0.5753 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.3222, allocations: 11.88 kB / 0.5753 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.3223, allocations: 23.61 kB / 0.5753 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-05/0.3223, allocations: 46.47 kB / 0.5754 GB, free: 13.34 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000701/0.323, allocations: 0.6439 MB / 0.576 GB, free: 12.69 MB / 490.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.003104/0.3261, allocations: 3.148 MB / 0.5791 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005612/0.3267, allocations: 400.3 kB / 0.5795 GB, free: 9.035 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.3269, allocations: 201 kB / 0.5797 GB, free: 8.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001848/0.3271, allocations: 60.28 kB / 0.5797 GB, free: 8.781 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.3271, allocations: 38.89 kB / 0.5798 GB, free: 8.734 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 1.653e-06/0.3271, allocations: 0 / 0.5798 GB, free: 8.734 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.002059/0.3292, allocations: 1.406 MB / 0.5811 GB, free: 7.293 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.786e-05/0.3292, allocations: 136.5 kB / 0.5813 GB, free: 7.129 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/0.3297, allocations: 0.5809 MB / 0.5818 GB, free: 6.539 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/0.3298, allocations: 37.7 kB / 0.5819 GB, free: 6.496 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.33, allocations: 363.8 kB / 0.5822 GB, free: 6.137 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001015/0.3301, allocations: 170.5 kB / 0.5824 GB, free: 5.969 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.3302, allocations: 138.6 kB / 0.5825 GB, free: 5.828 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3303, allocations: 378.8 kB / 0.5829 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.3306, allocations: 216.2 kB / 0.5831 GB, free: 5.238 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004349/0.331, allocations: 0.5915 MB / 0.5837 GB, free: 4.492 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/0.3316, allocations: 0.7611 MB / 0.5844 GB, free: 3.602 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3316, allocations: 4 kB / 0.5844 GB, free: 3.598 MB / 490.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009667/0.3326, allocations: 0.9145 MB / 0.5853 GB, free: 2.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.3326, allocations: 8 kB / 0.5853 GB, free: 2.672 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.3326, allocations: 8 kB / 0.5853 GB, free: 2.664 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000683/0.3333, allocations: 286.7 kB / 0.5856 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.3335, allocations: 123.8 kB / 0.5857 GB, free: 2.262 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006608/0.3342, allocations: 0.8868 MB / 0.5866 GB, free: 1.352 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.3344, allocations: 27.98 kB / 0.5866 GB, free: 1.324 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.3344, allocations: 36 kB / 0.5866 GB, free: 1.289 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.0001997/0.3346, allocations: 246.6 kB / 0.5869 GB, free: 1.039 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.072e-05/0.3347, allocations: 79.52 kB / 0.5869 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007742/0.3355, allocations: 0.6941 MB / 0.5876 GB, free: 264 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.3355, allocations: 4 kB / 0.5876 GB, free: 260 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3355, allocations: 0 / 0.5876 GB, free: 260 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3355, allocations: 3.984 kB / 0.5876 GB, free: 256 kB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3367, allocations: 1.237 MB / 0.5888 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3367, allocations: 1.062 kB / 0.5888 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005186/0.3372, allocations: 199.8 kB / 0.589 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.126e-05/0.3372, allocations: 20.84 kB / 0.589 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.617e-05/0.3373, allocations: 24.17 kB / 0.5891 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.3385, allocations: 2.655 MB / 0.5917 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3385, allocations: 8.094 kB / 0.5917 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.3398, allocations: 0.9412 MB / 0.5926 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002417/0.34, allocations: 131.4 kB / 0.5927 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.766e-05/0.3401, allocations: 8 kB / 0.5927 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002985/0.3404, allocations: 16 kB / 0.5927 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.73e-05/0.3405, allocations: 51.73 kB / 0.5928 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.49e-05/0.3405, allocations: 23.98 kB / 0.5928 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003865/0.3409, allocations: 431 kB / 0.5932 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/0.3409, allocations: 4.062 kB / 0.5932 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005665/0.3414, allocations: 223.8 kB / 0.5934 GB, free: 9.973 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.001423/0.3429, allocations: 1.622 MB / 0.595 GB, free: 8.301 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008801/0.3437, allocations: 0.5931 MB / 0.5956 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.3438, allocations: 0 / 0.5956 GB, free: 7.711 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006353/0.3444, allocations: 443.9 kB / 0.596 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.3454, allocations: 379.4 kB / 0.5964 GB, free: 6.926 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009513/0.3549, allocations: 6.415 MB / 0.6026 GB, free: 128 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/0.3552, allocations: 341.4 kB / 0.603 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005269/0.3557, allocations: 208.1 kB / 0.6032 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.356, allocations: 240.3 kB / 0.6034 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of SimCode: time 1.713e-06/0.356, allocations: 0 / 0.6034 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04279/0.3988, allocations: 24.11 MB / 0.6269 GB, free: 7.637 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.34/8.739, allocations: 22.7 kB / 0.627 GB, free: 7.621 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_SimpleAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.973223555833101]