Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009098/0.0009098, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009667/0.0009667, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.957/0.957, allocations: 177 MB / 204.1 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2457/0.2457, allocations: 34.25 MB / 294.8 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 442.2 MB, free: 1.539 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.241e-05, allocations: 2.281 kB / 442.2 MB, free: 1.535 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.3483/0.3483, allocations: 153.8 MB / 0.582 GB, free: 6.602 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.007217/0.3555, allocations: 4.919 MB / 0.5868 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000657/0.3562, allocations: 27.75 kB / 0.5869 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008806/0.357, allocations: 309.8 kB / 0.5871 GB, free: 1.34 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003178/0.3602, allocations: 1.322 MB / 0.5884 GB, free: 12 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.3623, allocations: 1.004 MB / 0.5894 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.002525/0.3649, allocations: 1.883 MB / 0.5913 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005469/0.3654, allocations: 397.5 kB / 0.5916 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.3672, allocations: 1.351 MB / 0.593 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000715/0.3679, allocations: 0.6311 MB / 0.5936 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 8.388e-05/0.368, allocations: 63.98 kB / 0.5936 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.369, allocations: 0.5576 MB / 0.5942 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.3692, allocations: 287.1 kB / 0.5945 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.3694, allocations: 290.6 kB / 0.5947 GB, free: 9.562 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.3706, allocations: 1.387 MB / 0.5961 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.3706, allocations: 0 / 0.5961 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3706, allocations: 0 / 0.5961 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.657e-06/0.3706, allocations: 0 / 0.5961 GB, free: 8.172 MB / 0.4948 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.001532/0.3722, allocations: 1.041 MB / 0.5971 GB, free: 7.094 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.3722, allocations: 8.031 kB / 0.5971 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001073/0.3723, allocations: 98.52 kB / 0.5972 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004538/0.3728, allocations: 135.5 kB / 0.5973 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009339/0.3737, allocations: 481.4 kB / 0.5978 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.3738, allocations: 155.8 kB / 0.5979 GB, free: 6.172 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.3739, allocations: 47.98 kB / 0.598 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009236/0.3748, allocations: 1.14 MB / 0.5991 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.3748, allocations: 0 / 0.5991 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.931e-05/0.3749, allocations: 31.92 kB / 0.5991 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-05/0.3749, allocations: 36.98 kB / 0.5992 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006763/0.3756, allocations: 0.6205 MB / 0.5998 GB, free: 4.148 MB / 0.4948 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.002763/0.3784, allocations: 3.303 MB / 0.603 GB, free: 0.7344 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/0.3788, allocations: 340.9 kB / 0.6033 GB, free: 404 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.3789, allocations: 161.3 kB / 0.6035 GB, free: 240 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.084e-05/0.379, allocations: 12.27 kB / 0.6035 GB, free: 228 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.3791, allocations: 41.53 kB / 0.6035 GB, free: 180 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.024e-06/0.3791, allocations: 0 / 0.6035 GB, free: 180 kB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.003502/0.3826, allocations: 1.6 MB / 0.6051 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.3826, allocations: 136.5 kB / 0.6052 GB, free: 14.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005065/0.3831, allocations: 0.6326 MB / 0.6058 GB, free: 13.72 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.3832, allocations: 41.64 kB / 0.6059 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.3834, allocations: 371.8 kB / 0.6062 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.105e-05/0.3834, allocations: 142.8 kB / 0.6064 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/0.3836, allocations: 158.6 kB / 0.6065 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.3837, allocations: 379.3 kB / 0.6069 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.384, allocations: 205.9 kB / 0.6071 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.3844, allocations: 0.588 MB / 0.6077 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006604/0.385, allocations: 0.7477 MB / 0.6084 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.385, allocations: 4 kB / 0.6084 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0009572/0.386, allocations: 0.8797 MB / 0.6092 GB, free: 9.887 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.386, allocations: 8.844 kB / 0.6093 GB, free: 9.879 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.386, allocations: 12.95 kB / 0.6093 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007814/0.3868, allocations: 312.6 kB / 0.6096 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.387, allocations: 123.8 kB / 0.6097 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007926/0.3878, allocations: 0.9383 MB / 0.6106 GB, free: 8.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.3881, allocations: 23.98 kB / 0.6106 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/0.3882, allocations: 68 kB / 0.6107 GB, free: 8.387 MB / 0.5105 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.000251/0.3884, allocations: 249.8 kB / 0.6109 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-05/0.3885, allocations: 79.58 kB / 0.611 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.3901, allocations: 0.8675 MB / 0.6118 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.3902, allocations: 8 kB / 0.6119 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.3902, allocations: 0 / 0.6119 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.3902, allocations: 3.984 kB / 0.6119 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.3917, allocations: 1.137 MB / 0.613 GB, free: 5.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.3917, allocations: 3.938 kB / 0.613 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006116/0.3923, allocations: 211.8 kB / 0.6132 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.609e-05/0.3924, allocations: 26.66 kB / 0.6132 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.709e-05/0.3924, allocations: 19.98 kB / 0.6132 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001673/0.3941, allocations: 2.664 MB / 0.6158 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3941, allocations: 0 / 0.6158 GB, free: 2.816 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.3953, allocations: 0.8285 MB / 0.6166 GB, free: 1.953 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003114/0.3956, allocations: 107.5 kB / 0.6167 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.594e-05/0.3957, allocations: 13.98 kB / 0.6167 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003566/0.396, allocations: 19.94 kB / 0.6168 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.3961, allocations: 47.81 kB / 0.6168 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.871e-05/0.3962, allocations: 43.98 kB / 0.6169 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005619/0.3968, allocations: 439 kB / 0.6173 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.3e-07/0.3968, allocations: 0 / 0.6173 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00109/0.3978, allocations: 259.7 kB / 0.6175 GB, free: 1.047 MB / 0.5105 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.002497/0.4003, allocations: 1.546 MB / 0.619 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.4016, allocations: 0.5314 MB / 0.6195 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/0.4016, allocations: 0 / 0.6195 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009103/0.4025, allocations: 411.4 kB / 0.6199 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.4036, allocations: 366.6 kB / 0.6203 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006957/0.4106, allocations: 6.265 MB / 0.6264 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.4108, allocations: 340.7 kB / 0.6267 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008241/0.4117, allocations: 458.3 kB / 0.6272 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.412, allocations: 288.4 kB / 0.6274 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of SimCode: time 1.392e-06/0.412, allocations: 3.938 kB / 0.6274 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2408/0.6528, allocations: 25.67 MB / 0.6525 GB, free: 162.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.638/9.291, allocations: 6.672 kB / 0.6525 GB, free: 162.7 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_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_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.546596107073128]