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.001697/0.001697, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001917/0.001917, allocations: 208.2 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.521/1.521, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2432/0.2432, allocations: 46.95 MB / 360.9 MB, free: 4.027 MB / 286.1 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 0.002067/0.002067, allocations: 71.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3592, allocations: 66.03 MB / 0.5606 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.1816/0.5408, allocations: 130.3 MB / 0.6878 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008579/0.5494, allocations: 5.171 MB / 0.6929 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008252/0.5502, allocations: 31.75 kB / 0.6929 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.5515, allocations: 314 kB / 0.6932 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.5542, allocations: 0.8863 MB / 0.6941 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003158/0.5574, allocations: 1.043 MB / 0.6951 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002652/0.5601, allocations: 1.821 MB / 0.6969 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008511/0.5609, allocations: 392.7 kB / 0.6972 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.5628, allocations: 0.7942 MB / 0.698 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.5643, allocations: 0.7396 MB / 0.6987 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002745/0.5646, allocations: 64 kB / 0.6988 GB, free: 6.199 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.5661, allocations: 487.1 kB / 0.6993 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004313/0.5665, allocations: 271.2 kB / 0.6995 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006408/0.5672, allocations: 334.6 kB / 0.6998 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002056/0.5692, allocations: 1.168 MB / 0.701 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5692, allocations: 0 / 0.701 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.274e-06/0.5692, allocations: 0 / 0.701 GB, free: 3.957 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.673e-05/0.5693, allocations: 4 kB / 0.701 GB, free: 3.953 MB / 0.5294 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.002529/0.5718, allocations: 0.9872 MB / 0.7019 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.5718, allocations: 16.03 kB / 0.702 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000173/0.572, allocations: 106.6 kB / 0.7021 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.5724, allocations: 96.41 kB / 0.7021 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.5735, allocations: 474.8 kB / 0.7026 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.5737, allocations: 156.3 kB / 0.7027 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.5738, allocations: 52.12 kB / 0.7028 GB, free: 1.992 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.5754, allocations: 1.141 MB / 0.7039 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.5754, allocations: 0 / 0.7039 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.248e-05/0.5755, allocations: 27.98 kB / 0.7039 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-05/0.5755, allocations: 44.91 kB / 0.704 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.5767, allocations: 0.644 MB / 0.7046 GB, free: 15.99 MB / 0.545 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.004927/0.5817, allocations: 3.148 MB / 0.7077 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008821/0.5825, allocations: 408.3 kB / 0.7081 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003382/0.5829, allocations: 189.4 kB / 0.7083 GB, free: 12.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.5832, allocations: 76.28 kB / 0.7083 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.5832, allocations: 46.88 kB / 0.7084 GB, free: 12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.154e-06/0.5833, allocations: 0 / 0.7084 GB, free: 12 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.003451/0.5867, allocations: 1.402 MB / 0.7097 GB, free: 10.57 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.642e-05/0.5868, allocations: 132.5 kB / 0.7099 GB, free: 10.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007887/0.5876, allocations: 0.5887 MB / 0.7104 GB, free: 9.809 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.5876, allocations: 33.7 kB / 0.7105 GB, free: 9.77 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.5879, allocations: 355.9 kB / 0.7108 GB, free: 9.418 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.5881, allocations: 170.6 kB / 0.711 GB, free: 9.25 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002144/0.5883, allocations: 142.6 kB / 0.7111 GB, free: 9.105 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.5885, allocations: 370.8 kB / 0.7115 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/0.5889, allocations: 217.9 kB / 0.7117 GB, free: 8.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/0.5897, allocations: 0.5915 MB / 0.7123 GB, free: 7.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.5908, allocations: 0.7601 MB / 0.713 GB, free: 6.879 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.5908, allocations: 4 kB / 0.713 GB, free: 6.875 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001831/0.5926, allocations: 0.9103 MB / 0.7139 GB, free: 5.953 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.5926, allocations: 10.66 kB / 0.7139 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.193e-05/0.5927, allocations: 15.98 kB / 0.7139 GB, free: 5.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001487/0.5942, allocations: 277 kB / 0.7142 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004162/0.5946, allocations: 123.8 kB / 0.7143 GB, free: 5.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001228/0.5958, allocations: 0.8956 MB / 0.7152 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005616/0.5964, allocations: 31.92 kB / 0.7152 GB, free: 4.582 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.5964, allocations: 32 kB / 0.7152 GB, free: 4.551 MB / 0.545 GB 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.0004903/0.5969, allocations: 252.5 kB / 0.7155 GB, free: 4.297 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001892/0.5971, allocations: 67.58 kB / 0.7155 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.5986, allocations: 0.6957 MB / 0.7162 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.5986, allocations: 7.938 kB / 0.7162 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.5986, allocations: 4 kB / 0.7162 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.5986, allocations: 7.922 kB / 0.7162 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002373/0.601, allocations: 1.226 MB / 0.7174 GB, free: 2.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.601, allocations: 4 kB / 0.7174 GB, free: 2.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.602, allocations: 199.8 kB / 0.7176 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.6022, allocations: 24.84 kB / 0.7177 GB, free: 1.984 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/0.6022, allocations: 16.17 kB / 0.7177 GB, free: 1.969 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002535/0.6047, allocations: 2.666 MB / 0.7203 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6047, allocations: 4.062 kB / 0.7203 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.6064, allocations: 0.9381 MB / 0.7212 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004172/0.6068, allocations: 139.4 kB / 0.7213 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.6069, allocations: 12 kB / 0.7213 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/0.6074, allocations: 19.94 kB / 0.7214 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.73e-05/0.6075, allocations: 39.86 kB / 0.7214 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-05/0.6075, allocations: 23.98 kB / 0.7214 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000651/0.6082, allocations: 431 kB / 0.7218 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.6082, allocations: 4.062 kB / 0.7218 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009672/0.6092, allocations: 223.8 kB / 0.722 GB, free: 13.22 MB / 0.5606 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.002255/0.6114, allocations: 1.637 MB / 0.7236 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.6128, allocations: 0.5747 MB / 0.7242 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6128, allocations: 0 / 0.7242 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.614, allocations: 443.9 kB / 0.7246 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.6158, allocations: 380.3 kB / 0.725 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/0.627, allocations: 6.477 MB / 0.7313 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/0.6274, allocations: 341.4 kB / 0.7316 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007544/0.6282, allocations: 209.3 kB / 0.7318 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004023/0.6286, allocations: 235.3 kB / 0.7321 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/0.6286, allocations: 3.938 kB / 0.7321 GB, free: 2.496 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3081/0.9367, allocations: 24.05 MB / 0.7556 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.79/14.72, allocations: 8 kB / 0.7556 GB, free: 157.8 MB / 0.5606 GB " [Timeout remaining time 645] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/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: 17.927387892268598]