Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.001375/0.001375, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002287/0.002287, allocations: 204.7 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.566/1.566, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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.235/0.235, allocations: 46.95 MB / 360.8 MB, free: 3.918 MB / 286.1 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.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002354/0.002354, allocations: 79.88 kB / 0.4962 GB, free: 7.527 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3684, allocations: 66.08 MB / 0.5607 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.2035/0.5719, allocations: 153.9 MB / 0.711 GB, free: 9.582 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008875/0.5807, allocations: 4.922 MB / 0.7158 GB, free: 4.645 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.5818, allocations: 23.75 kB / 0.7158 GB, free: 4.621 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.5832, allocations: 314 kB / 0.7161 GB, free: 4.312 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004764/0.5879, allocations: 1.286 MB / 0.7174 GB, free: 3.023 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.591, allocations: 0.9841 MB / 0.7183 GB, free: 2.043 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002653/0.5937, allocations: 1.868 MB / 0.7201 GB, free: 172 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006965/0.5944, allocations: 385.6 kB / 0.7205 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002515/0.5969, allocations: 1.125 MB / 0.7216 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.598, allocations: 0.6812 MB / 0.7223 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.5981, allocations: 60 kB / 0.7223 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.5995, allocations: 0.5573 MB / 0.7229 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.5998, allocations: 267.2 kB / 0.7231 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003961/0.6002, allocations: 342.5 kB / 0.7235 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.602, allocations: 1.304 MB / 0.7247 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.602, allocations: 7.922 kB / 0.7247 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.814e-06/0.602, allocations: 0 / 0.7247 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.443e-05/0.602, allocations: 0 / 0.7247 GB, free: 11.45 MB / 0.5606 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.002239/0.6043, allocations: 1.042 MB / 0.7258 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6043, allocations: 8.031 kB / 0.7258 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001409/0.6044, allocations: 94.52 kB / 0.7259 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008223/0.6053, allocations: 143.4 kB / 0.726 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.6063, allocations: 481.4 kB / 0.7264 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.6065, allocations: 151.8 kB / 0.7266 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.6066, allocations: 55.98 kB / 0.7266 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.6081, allocations: 1.136 MB / 0.7278 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.6082, allocations: 11.88 kB / 0.7278 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-05/0.6082, allocations: 27.98 kB / 0.7278 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.748e-05/0.6083, allocations: 40.92 kB / 0.7278 GB, free: 8.027 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.6094, allocations: 0.6127 MB / 0.7284 GB, free: 7.41 MB / 0.5606 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.004821/0.6143, allocations: 3.304 MB / 0.7317 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/0.6149, allocations: 343.6 kB / 0.732 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.6152, allocations: 157.3 kB / 0.7321 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.6153, allocations: 12.28 kB / 0.7321 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.6154, allocations: 38.84 kB / 0.7322 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.355e-06/0.6154, allocations: 0 / 0.7322 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.00575/0.6211, allocations: 1.608 MB / 0.7338 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.994e-05/0.6212, allocations: 132.5 kB / 0.7339 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000834/0.622, allocations: 0.6327 MB / 0.7345 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.6221, allocations: 37.7 kB / 0.7345 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.6224, allocations: 375.8 kB / 0.7349 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.6226, allocations: 146.8 kB / 0.735 GB, free: 404 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.6228, allocations: 158.5 kB / 0.7352 GB, free: 240 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.28/0.9028, allocations: 374.8 kB / 0.7355 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006703/0.9034, allocations: 198.8 kB / 0.7357 GB, free: 175.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006727/0.9041, allocations: 0.5926 MB / 0.7363 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.9052, allocations: 0.7483 MB / 0.737 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.9052, allocations: 3.734 kB / 0.737 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001818/0.9071, allocations: 0.8753 MB / 0.7379 GB, free: 174 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.9071, allocations: 15.53 kB / 0.7379 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.9071, allocations: 14.27 kB / 0.7379 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.9085, allocations: 314.1 kB / 0.7382 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/0.9089, allocations: 122.4 kB / 0.7383 GB, free: 174 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009323/0.9098, allocations: 0.9315 MB / 0.7393 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/0.9104, allocations: 25.31 kB / 0.7393 GB, free: 173.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.94e-05/0.9104, allocations: 65.52 kB / 0.7393 GB, free: 173.3 MB / 0.5606 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.0003492/0.9108, allocations: 253.3 kB / 0.7396 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.9109, allocations: 68.77 kB / 0.7396 GB, free: 173.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.9124, allocations: 0.8602 MB / 0.7405 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.9124, allocations: 9.188 kB / 0.7405 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9124, allocations: 4.125 kB / 0.7405 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.9124, allocations: 2.156 kB / 0.7405 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.9141, allocations: 1.144 MB / 0.7416 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.9141, allocations: 7.562 kB / 0.7416 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009496/0.915, allocations: 211.6 kB / 0.7418 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.781e-05/0.9151, allocations: 19.77 kB / 0.7418 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.9152, allocations: 22.86 kB / 0.7419 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.9165, allocations: 2.66 MB / 0.7445 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9165, allocations: 7.969 kB / 0.7445 GB, free: 169.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009789/0.9175, allocations: 0.8307 MB / 0.7453 GB, free: 168.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002723/0.9178, allocations: 116.4 kB / 0.7454 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.382e-05/0.9179, allocations: 13.88 kB / 0.7454 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003595/0.9182, allocations: 15.84 kB / 0.7454 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.657e-05/0.9183, allocations: 43.27 kB / 0.7455 GB, free: 168.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.604e-05/0.9184, allocations: 43.8 kB / 0.7455 GB, free: 168.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004193/0.9188, allocations: 442.1 kB / 0.7459 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9188, allocations: 3.625 kB / 0.7459 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00083/0.9196, allocations: 257.5 kB / 0.7462 GB, free: 167.5 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 (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.001607/0.9212, allocations: 1.537 MB / 0.7477 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001038/0.9223, allocations: 0.5352 MB / 0.7482 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.9223, allocations: 0 / 0.7482 GB, free: 165.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008322/0.9231, allocations: 402.7 kB / 0.7486 GB, free: 165.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.9247, allocations: 371.4 kB / 0.7489 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007164/0.9318, allocations: 6.337 MB / 0.7551 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.9321, allocations: 336.4 kB / 0.7555 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009805/0.9331, allocations: 476.5 kB / 0.7559 GB, free: 157.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/0.9335, allocations: 279.3 kB / 0.7562 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of SimCode: time 2.064e-06/0.9335, allocations: 0 / 0.7562 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06014/0.9937, allocations: 25.62 MB / 0.7812 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.63, allocations: 0 / 0.7812 GB, free: 131.7 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.971473147626966]