Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.0008247/0.0008247, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0009375/0.0009375, allocations: 156.9 kB / 23.95 MB, free: 0.6094 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.8707/0.8707, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.461e-05, allocations: 3.406 kB / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.02557/0.02559, allocations: 34.53 MB / 359 MB, free: 13.22 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02023/0.04582, allocations: 27.14 MB / 386.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004931/0.04632, allocations: 11.94 kB / 386.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.04749, allocations: 381.7 kB / 386.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009329/0.04842, allocations: 0.5511 MB / 387.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01169/0.06011, allocations: 5.351 MB / 392.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001818/0.06193, allocations: 1.374 MB / 393.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002585/0.06219, allocations: 119 kB / 394 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009439/0.06313, allocations: 0.7362 MB / 394.7 MB, free: 9.445 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003944/0.06353, allocations: 390.8 kB / 395.1 MB, free: 9.062 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.977e-05/0.06359, allocations: 55.98 kB / 395.1 MB, free: 9.008 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01654/0.08012, allocations: 12.48 MB / 407.6 MB, free: 12.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.0804, allocations: 163.4 kB / 407.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000654/0.08105, allocations: 243.6 kB / 408 MB, free: 12.1 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02314/0.1042, allocations: 15.56 MB / 423.6 MB, free: 12.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.1042, allocations: 0 / 423.6 MB, free: 12.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1042, allocations: 0 / 423.6 MB, free: 12.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1042, allocations: 0 / 423.6 MB, free: 12.52 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.005872/0.1101, allocations: 1.388 MB / 425 MB, free: 11.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1101, allocations: 15.98 kB / 425 MB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.773e-05/0.1102, allocations: 86.52 kB / 425.1 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005075/0.1107, allocations: 95.56 kB / 425.2 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.1112, allocations: 328.3 kB / 425.5 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.1113, allocations: 40.92 kB / 425.5 MB, free: 10.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.1113, allocations: 48 kB / 425.6 MB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009143/0.1122, allocations: 0.8252 MB / 426.4 MB, free: 9.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.1123, allocations: 11.89 kB / 426.4 MB, free: 9.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.479e-05/0.1123, allocations: 20 kB / 426.4 MB, free: 9.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.1123, allocations: 12 kB / 426.4 MB, free: 9.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000643/0.113, allocations: 0.5307 MB / 427 MB, free: 8.961 MB / 394.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.00288/0.1158, allocations: 2.79 MB / 429.7 MB, free: 6.078 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006172/0.1164, allocations: 388.8 kB / 430.1 MB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.1167, allocations: 208.8 kB / 430.3 MB, free: 5.488 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.1177, allocations: 0.6245 MB / 431 MB, free: 4.863 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.1177, allocations: 38.94 kB / 431 MB, free: 4.816 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 3.497e-06/0.1177, allocations: 0 / 431 MB, free: 4.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.005596/0.1233, allocations: 1.884 MB / 432.9 MB, free: 2.891 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1233, allocations: 59.84 kB / 432.9 MB, free: 2.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.1236, allocations: 320.3 kB / 433.2 MB, free: 2.496 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.1236, allocations: 37.7 kB / 433.3 MB, free: 2.453 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.1237, allocations: 225.2 kB / 433.5 MB, free: 2.227 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.816e-05/0.1238, allocations: 206.2 kB / 433.7 MB, free: 2.023 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.1239, allocations: 118.3 kB / 433.8 MB, free: 1.902 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.124, allocations: 354.7 kB / 434.2 MB, free: 1.547 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.1242, allocations: 181.2 kB / 434.3 MB, free: 1.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.1245, allocations: 336.1 kB / 434.7 MB, free: 0.9844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005534/0.1251, allocations: 0.5496 MB / 435.2 MB, free: 384 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1251, allocations: 0 / 435.2 MB, free: 384 kB / 394.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001035/0.1261, allocations: 0.6752 MB / 435.9 MB, free: 15.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.1261, allocations: 8 kB / 435.9 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1261, allocations: 7.938 kB / 435.9 MB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005632/0.1318, allocations: 474.5 kB / 436.4 MB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.1322, allocations: 143.8 kB / 436.5 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/0.134, allocations: 2.974 MB / 439.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002924/0.1343, allocations: 20 kB / 439.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.1343, allocations: 27.98 kB / 439.5 MB, free: 11.85 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002829/0.1346, allocations: 185.7 kB / 439.7 MB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.1347, allocations: 47.72 kB / 439.8 MB, free: 11.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.1359, allocations: 1.079 MB / 440.8 MB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.1359, allocations: 15.98 kB / 440.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1359, allocations: 0 / 440.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008386/0.1368, allocations: 1.114 MB / 442 MB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.1384, allocations: 1.669 MB / 443.6 MB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.1384, allocations: 8 kB / 443.7 MB, free: 7.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005392/0.1389, allocations: 95.89 kB / 443.7 MB, free: 7.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001438/0.1403, allocations: 353.1 kB / 444.1 MB, free: 7.125 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.1404, allocations: 15.94 kB / 444.1 MB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004869/0.1409, allocations: 1.152 MB / 445.3 MB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1409, allocations: 0 / 445.3 MB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001127/0.142, allocations: 1.151 MB / 446.4 MB, free: 4.734 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.1421, allocations: 47.61 kB / 446.5 MB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.1421, allocations: 23.92 kB / 446.5 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.1423, allocations: 8 kB / 446.5 MB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/0.1423, allocations: 40.38 kB / 446.5 MB, free: 4.613 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/0.1423, allocations: 19.98 kB / 446.5 MB, free: 4.594 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000206/0.1426, allocations: 251 kB / 446.8 MB, free: 4.352 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1426, allocations: 4.188 kB / 446.8 MB, free: 4.348 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004385/0.1469, allocations: 0.978 MB / 447.8 MB, free: 3.367 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.1565/0.3034, allocations: 9.594 MB / 457.4 MB, free: 108.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.3046, allocations: 0.6886 MB / 458.1 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.3046, allocations: 5.906 kB / 458.1 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.305, allocations: 346.7 kB / 458.4 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000853/0.3058, allocations: 262.1 kB / 458.7 MB, free: 108.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007204/0.313, allocations: 5.275 MB / 463.9 MB, free: 103.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001466/0.3132, allocations: 264.7 kB / 464.2 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004141/0.3136, allocations: 238.1 kB / 464.4 MB, free: 103.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001513/0.3137, allocations: 198.8 kB / 464.6 MB, free: 103.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.663e-06/0.3137, allocations: 0 / 464.6 MB, free: 103.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0498/0.3635, allocations: 44.02 MB / 0.4967 GB, free: 60.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.739/9.103, allocations: 7.031 kB / 0.4967 GB, free: 60.37 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a2/R134a2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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: 12.917150244116783]