Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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.001112/0.001112, allocations: 80.36 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.001011/0.001011, allocations: 160.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.8989/0.8989, allocations: 177 MB / 204.1 MB, free: 5.746 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.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.929e-05, allocations: 7.203 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01874/0.01876, allocations: 24.53 MB / 349 MB, free: 7.258 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.015/0.03376, allocations: 22.06 MB / 371.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000245/0.03401, allocations: 7.938 kB / 371.1 MB, free: 1.117 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006273/0.03463, allocations: 274.3 kB / 371.4 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005526/0.03519, allocations: 393.4 kB / 371.8 MB, free: 472 kB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007537/0.04272, allocations: 4.196 MB / 376 MB, free: 12.25 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008776/0.0436, allocations: 0.9538 MB / 376.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001902/0.04379, allocations: 85.02 kB / 377 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000691/0.04448, allocations: 0.5142 MB / 377.5 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.04478, allocations: 275.2 kB / 377.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.392e-05/0.04482, allocations: 36 kB / 377.8 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01122/0.05604, allocations: 10.17 MB / 388 MB, free: 208 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.05616, allocations: 119.6 kB / 388.1 MB, free: 88 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.0563, allocations: 167.7 kB / 388.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.07107, allocations: 12 MB / 400.3 MB, free: 3.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.07107, allocations: 3.938 kB / 400.3 MB, free: 3.902 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.07107, allocations: 0 / 400.3 MB, free: 3.902 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.07108, allocations: 0 / 400.3 MB, free: 3.902 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.004519/0.0756, allocations: 1.097 MB / 401.4 MB, free: 2.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.07564, allocations: 11.98 kB / 401.4 MB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/0.0757, allocations: 70.53 kB / 401.4 MB, free: 2.68 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003359/0.07603, allocations: 67.73 kB / 401.5 MB, free: 2.613 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.07641, allocations: 264.6 kB / 401.8 MB, free: 2.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.07643, allocations: 24.66 kB / 401.8 MB, free: 2.301 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.07647, allocations: 36 kB / 401.8 MB, free: 2.266 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006206/0.07709, allocations: 0.6035 MB / 402.4 MB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.0771, allocations: 11.89 kB / 402.4 MB, free: 1.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.792e-05/0.07713, allocations: 12 kB / 402.5 MB, free: 1.566 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.068e-06/0.07714, allocations: 8 kB / 402.5 MB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004518/0.07759, allocations: 390.2 kB / 402.8 MB, free: 1.176 MB / 362.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.002278/0.07987, allocations: 2.219 MB / 405.1 MB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.08029, allocations: 282.8 kB / 405.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.08043, allocations: 131.7 kB / 405.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007657/0.0812, allocations: 471.4 kB / 405.9 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.08122, allocations: 38.5 kB / 406 MB, free: 13.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.653e-06/0.08123, allocations: 4 kB / 406 MB, free: 13.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.003087/0.08431, allocations: 1.163 MB / 407.1 MB, free: 12.75 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.08435, allocations: 59.34 kB / 407.2 MB, free: 12.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.08454, allocations: 261.8 kB / 407.4 MB, free: 12.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.08456, allocations: 29.7 kB / 407.5 MB, free: 12.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.08466, allocations: 192.4 kB / 407.7 MB, free: 12.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.481e-05/0.08472, allocations: 123 kB / 407.8 MB, free: 12.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-05/0.08481, allocations: 82.14 kB / 407.9 MB, free: 11.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.403e-05/0.0849, allocations: 342.8 kB / 408.2 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.08503, allocations: 109 kB / 408.3 MB, free: 11.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/0.08521, allocations: 234.7 kB / 408.5 MB, free: 11.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.08555, allocations: 373.5 kB / 408.9 MB, free: 10.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.08556, allocations: 4 kB / 408.9 MB, free: 10.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005478/0.0861, allocations: 463 kB / 409.4 MB, free: 10.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.08612, allocations: 4 kB / 409.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.08613, allocations: 7.938 kB / 409.4 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002703/0.08883, allocations: 249.4 kB / 409.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.08902, allocations: 83.91 kB / 409.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.09022, allocations: 1.839 MB / 411.5 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.09033, allocations: 8 kB / 411.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.09035, allocations: 23.94 kB / 411.6 MB, free: 8.016 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 prepare postOptimizeDAE: time 0.0001282/0.09048, allocations: 161.8 kB / 411.7 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/0.09056, allocations: 35.75 kB / 411.8 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006662/0.09122, allocations: 0.7067 MB / 412.5 MB, free: 7.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.09123, allocations: 16.06 kB / 412.5 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.09123, allocations: 4.062 kB / 412.5 MB, free: 7.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005443/0.09178, allocations: 0.8841 MB / 413.4 MB, free: 6.102 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009319/0.09271, allocations: 1.137 MB / 414.5 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.09271, allocations: 3.938 kB / 414.5 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001391/0.09285, allocations: 59.91 kB / 414.6 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006992/0.09355, allocations: 176.6 kB / 414.7 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.09357, allocations: 8 kB / 414.7 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002251/0.09379, allocations: 0.5874 MB / 415.3 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.09379, allocations: 0 / 415.3 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006263/0.09442, allocations: 0.7432 MB / 416.1 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.09445, allocations: 31.73 kB / 416.1 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.09448, allocations: 12 kB / 416.1 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.56e-05/0.09457, allocations: 8 kB / 416.1 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.0946, allocations: 32.05 kB / 416.2 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.09462, allocations: 11.98 kB / 416.2 MB, free: 3.191 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001469/0.09477, allocations: 219.1 kB / 416.4 MB, free: 2.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.09477, allocations: 0 / 416.4 MB, free: 2.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002799/0.09756, allocations: 0.7636 MB / 417.2 MB, free: 2.211 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01479/0.1124, allocations: 7.696 MB / 424.8 MB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000865/0.1132, allocations: 466.5 kB / 425.3 MB, free: 10 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1132, allocations: 4 kB / 425.3 MB, free: 9.996 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002402/0.1135, allocations: 208 kB / 425.5 MB, free: 9.793 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006145/0.1141, allocations: 195.9 kB / 425.7 MB, free: 9.605 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004219/0.1183, allocations: 3.994 MB / 429.7 MB, free: 5.434 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.1184, allocations: 200.8 kB / 429.9 MB, free: 5.215 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002732/0.1187, allocations: 198.8 kB / 430.1 MB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.1188, allocations: 140.5 kB / 430.2 MB, free: 4.879 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/0.1188, allocations: 0 / 430.2 MB, free: 4.879 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1899/0.3087, allocations: 35.22 MB / 465.4 MB, free: 98.37 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.472/8.781, allocations: 6.953 kB / 465.4 MB, free: 98.36 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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.331791332922876]