Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.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.0008967/0.0008967, allocations: 83.69 kB / 20.67 MB, free: 3.879 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.0008856/0.0008856, allocations: 170 kB / 23.95 MB, free: 0.6016 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.8707/0.8707, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 3.938 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.16e-05, allocations: 6.219 kB / 324.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.02253/0.02256, allocations: 34.52 MB / 359.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01833/0.04089, allocations: 27.13 MB / 386.2 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.0412, allocations: 7.938 kB / 386.2 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007573/0.04195, allocations: 385.6 kB / 386.6 MB, free: 1.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006448/0.0426, allocations: 0.555 MB / 387.2 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007965/0.05056, allocations: 5.348 MB / 392.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001041/0.0516, allocations: 1.374 MB / 393.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.05179, allocations: 123 kB / 394 MB, free: 10.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005643/0.05235, allocations: 0.7285 MB / 394.7 MB, free: 9.504 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.05266, allocations: 402.8 kB / 395.1 MB, free: 9.109 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.336e-05/0.05271, allocations: 52 kB / 395.2 MB, free: 9.059 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01153/0.06425, allocations: 12.47 MB / 407.7 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.06437, allocations: 159.5 kB / 407.8 MB, free: 12.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.06453, allocations: 243.6 kB / 408 MB, free: 12.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01784/0.08237, allocations: 15.56 MB / 423.6 MB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.08238, allocations: 4 kB / 423.6 MB, free: 12.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.08238, allocations: 3.938 kB / 423.6 MB, free: 12.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.727e-06/0.08239, allocations: 3.938 kB / 423.6 MB, free: 12.58 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.005169/0.08756, allocations: 1.396 MB / 425 MB, free: 11.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.0876, allocations: 12.03 kB / 425 MB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.073e-05/0.08768, allocations: 82.53 kB / 425.1 MB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004735/0.08815, allocations: 95.56 kB / 425.2 MB, free: 10.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.08861, allocations: 332.2 kB / 425.5 MB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.08863, allocations: 37 kB / 425.6 MB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.08868, allocations: 48 kB / 425.6 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008498/0.08953, allocations: 0.8174 MB / 426.4 MB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.08955, allocations: 7.953 kB / 426.4 MB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.08958, allocations: 20 kB / 426.5 MB, free: 9.574 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.08959, allocations: 12 kB / 426.5 MB, free: 9.562 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006157/0.09021, allocations: 0.5307 MB / 427 MB, free: 9.035 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.00248/0.09269, allocations: 2.797 MB / 429.8 MB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.09325, allocations: 385.3 kB / 430.2 MB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/0.09345, allocations: 203.8 kB / 430.4 MB, free: 5.562 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009517/0.0944, allocations: 0.6246 MB / 431 MB, free: 4.938 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.09442, allocations: 38.94 kB / 431 MB, free: 4.891 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 1.462e-06/0.09442, allocations: 0 / 431 MB, free: 4.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=54): time 0.005139/0.09956, allocations: 1.903 MB / 432.9 MB, free: 2.941 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.09961, allocations: 55.91 kB / 433 MB, free: 2.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.09982, allocations: 312.4 kB / 433.3 MB, free: 2.559 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.09984, allocations: 37.7 kB / 433.3 MB, free: 2.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.09997, allocations: 229.2 kB / 433.6 MB, free: 2.285 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.824e-05/0.1001, allocations: 202.3 kB / 433.7 MB, free: 2.086 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1002, allocations: 118.3 kB / 433.9 MB, free: 1.965 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.421e-05/0.1002, allocations: 350.7 kB / 434.2 MB, free: 1.613 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.1005, allocations: 181.2 kB / 434.4 MB, free: 1.438 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.1008, allocations: 336.1 kB / 434.7 MB, free: 1.051 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.1013, allocations: 0.5497 MB / 435.3 MB, free: 452 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1013, allocations: 0 / 435.3 MB, free: 452 kB / 394.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008146/0.1021, allocations: 0.6675 MB / 435.9 MB, free: 15.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1021, allocations: 8 kB / 435.9 MB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.1021, allocations: 8 kB / 435.9 MB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005566/0.1077, allocations: 482.4 kB / 436.4 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.1079, allocations: 139.8 kB / 436.6 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001262/0.1092, allocations: 2.971 MB / 439.5 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.1094, allocations: 20 kB / 439.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.1094, allocations: 27.98 kB / 439.6 MB, free: 11.92 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.0003931/0.1098, allocations: 197.5 kB / 439.8 MB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.1099, allocations: 47.72 kB / 439.8 MB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009104/0.1108, allocations: 1.075 MB / 440.9 MB, free: 10.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.1108, allocations: 20.16 kB / 440.9 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.1108, allocations: 0 / 440.9 MB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007331/0.1115, allocations: 1.114 MB / 442 MB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.1129, allocations: 1.669 MB / 443.7 MB, free: 7.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.1129, allocations: 0 / 443.7 MB, free: 7.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.113, allocations: 103.9 kB / 443.8 MB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/0.1143, allocations: 349 kB / 444.1 MB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.1144, allocations: 19.94 kB / 444.1 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004176/0.1148, allocations: 1.152 MB / 445.3 MB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1148, allocations: 0 / 445.3 MB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009782/0.1157, allocations: 1.144 MB / 446.4 MB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.1158, allocations: 47.64 kB / 446.5 MB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.1158, allocations: 19.95 kB / 446.5 MB, free: 4.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.1159, allocations: 8 kB / 446.5 MB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.116, allocations: 44.36 kB / 446.6 MB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.116, allocations: 23.94 kB / 446.6 MB, free: 4.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004453/0.1165, allocations: 255 kB / 446.8 MB, free: 4.414 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1165, allocations: 192 / 446.8 MB, free: 4.414 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003887/0.1203, allocations: 0.9818 MB / 447.8 MB, free: 3.43 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.154/0.2743, allocations: 9.586 MB / 457.4 MB, free: 108.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.2756, allocations: 0.6928 MB / 458.1 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2756, allocations: 0 / 458.1 MB, free: 108.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003406/0.2759, allocations: 354.9 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.0008186/0.2767, allocations: 273.4 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.006478/0.2832, allocations: 5.27 MB / 464 MB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.2834, allocations: 271.1 kB / 464.2 MB, free: 103.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004271/0.2838, allocations: 242.4 kB / 464.5 MB, free: 103.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.2839, allocations: 198.8 kB / 464.7 MB, free: 103.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.192e-06/0.284, allocations: 0 / 464.7 MB, free: 103.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04231/0.3263, allocations: 44.05 MB / 0.4968 GB, free: 60.24 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.346/8.672, allocations: 7.031 kB / 0.4968 GB, free: 60.24 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.442211279645562]