Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.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.0009686/0.0009686, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001006/0.001006, allocations: 170 kB / 23.95 MB, free: 0.6094 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.865/0.865, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.R134a1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.382e-05/2.585e-05, allocations: 6.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01727/0.0173, allocations: 24.55 MB / 349.1 MB, free: 7.301 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01433/0.03163, allocations: 22.04 MB / 371.2 MB, free: 1.191 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002418/0.03187, allocations: 7.938 kB / 371.2 MB, free: 1.184 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006718/0.03254, allocations: 286.2 kB / 371.4 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006099/0.03315, allocations: 393.4 kB / 371.8 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00849/0.04164, allocations: 4.184 MB / 376 MB, free: 12.32 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001045/0.04269, allocations: 0.95 MB / 377 MB, free: 11.37 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.04289, allocations: 81.08 kB / 377 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.04351, allocations: 0.5336 MB / 377.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.04376, allocations: 263.2 kB / 377.8 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.0438, allocations: 40 kB / 377.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/0.05428, allocations: 10.16 MB / 388 MB, free: 280 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.0544, allocations: 123.5 kB / 388.1 MB, free: 156 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.05454, allocations: 167.8 kB / 388.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.06887, allocations: 12 MB / 400.3 MB, free: 3.973 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.06887, allocations: 0 / 400.3 MB, free: 3.973 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.06887, allocations: 3.938 kB / 400.3 MB, free: 3.969 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.06888, allocations: 4 kB / 400.3 MB, free: 3.965 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.003769/0.07265, allocations: 1.093 MB / 401.4 MB, free: 2.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.07269, allocations: 8.031 kB / 401.4 MB, free: 2.828 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.106e-05/0.07275, allocations: 70.53 kB / 401.5 MB, free: 2.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.07309, allocations: 67.73 kB / 401.6 MB, free: 2.684 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.07345, allocations: 268.5 kB / 401.8 MB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.07347, allocations: 24.66 kB / 401.8 MB, free: 2.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.07351, allocations: 36 kB / 401.9 MB, free: 2.332 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005646/0.07407, allocations: 0.6035 MB / 402.5 MB, free: 1.656 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.07409, allocations: 7.891 kB / 402.5 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.07411, allocations: 16 kB / 402.5 MB, free: 1.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.07412, allocations: 8 kB / 402.5 MB, free: 1.625 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.07455, allocations: 386.3 kB / 402.9 MB, free: 1.246 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.001992/0.07654, allocations: 2.222 MB / 405.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003913/0.07693, allocations: 283.8 kB / 405.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.07706, allocations: 127.3 kB / 405.5 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000699/0.07776, allocations: 467.5 kB / 406 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.07778, allocations: 38.56 kB / 406 MB, free: 14.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.433e-06/0.07778, allocations: 3.938 kB / 406 MB, free: 14.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.003189/0.08097, allocations: 1.158 MB / 407.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.081, allocations: 55.41 kB / 407.2 MB, free: 12.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.08118, allocations: 257.9 kB / 407.5 MB, free: 12.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.0812, allocations: 33.7 kB / 407.5 MB, free: 12.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/0.0813, allocations: 204.3 kB / 407.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.134e-05/0.08136, allocations: 119 kB / 407.8 MB, free: 12.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.08143, allocations: 82.14 kB / 407.9 MB, free: 12.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.714e-05/0.08152, allocations: 346.8 kB / 408.2 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.08165, allocations: 113 kB / 408.4 MB, free: 11.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.08182, allocations: 222.7 kB / 408.6 MB, free: 11.33 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.08214, allocations: 378 kB / 408.9 MB, free: 10.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.08214, allocations: 0 / 408.9 MB, free: 10.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005345/0.08268, allocations: 463 kB / 409.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.08269, allocations: 8 kB / 409.4 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.0827, allocations: 15.86 kB / 409.4 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002734/0.08543, allocations: 241.4 kB / 409.6 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.08561, allocations: 87.89 kB / 409.7 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009169/0.08653, allocations: 1.839 MB / 411.6 MB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.786e-05/0.08663, allocations: 12 kB / 411.6 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.08665, allocations: 19.98 kB / 411.6 MB, free: 8.086 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.0001234/0.08677, allocations: 157.8 kB / 411.8 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.08685, allocations: 31.81 kB / 411.8 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006866/0.08754, allocations: 0.7147 MB / 412.5 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.08755, allocations: 11.94 kB / 412.5 MB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.08755, allocations: 3.938 kB / 412.5 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005779/0.08813, allocations: 0.8801 MB / 413.4 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.0894, allocations: 1.137 MB / 414.5 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.0894, allocations: 3.938 kB / 414.5 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.08953, allocations: 59.91 kB / 414.6 MB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006702/0.0902, allocations: 180.5 kB / 414.8 MB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.09022, allocations: 11.98 kB / 414.8 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002067/0.09043, allocations: 0.5796 MB / 415.4 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.09043, allocations: 0 / 415.4 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/0.09105, allocations: 0.7432 MB / 416.1 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.09109, allocations: 39.73 kB / 416.1 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.09112, allocations: 8.219 kB / 416.2 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.255e-05/0.09121, allocations: 12 kB / 416.2 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.958e-05/0.09124, allocations: 23.95 kB / 416.2 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.09126, allocations: 19.98 kB / 416.2 MB, free: 3.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001373/0.0914, allocations: 223 kB / 416.4 MB, free: 3.043 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0914, allocations: 0 / 416.4 MB, free: 3.043 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002684/0.09408, allocations: 0.7558 MB / 417.2 MB, free: 2.285 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.01452/0.1086, allocations: 7.692 MB / 424.9 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006059/0.1092, allocations: 469.9 kB / 425.3 MB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1092, allocations: 0 / 425.3 MB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002421/0.1094, allocations: 212 kB / 425.5 MB, free: 9.867 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/0.11, allocations: 197.5 kB / 425.7 MB, free: 9.676 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/0.1144, allocations: 3.995 MB / 429.7 MB, free: 5.508 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.1145, allocations: 208.8 kB / 429.9 MB, free: 5.281 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002548/0.1148, allocations: 195.5 kB / 430.1 MB, free: 5.086 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.1149, allocations: 140.5 kB / 430.3 MB, free: 4.949 MB / 394.7 MB Notification: Performance of SimCode: time 6.11e-07/0.1149, allocations: 0 / 430.3 MB, free: 4.949 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1625/0.2774, allocations: 35.27 MB / 465.5 MB, free: 98.58 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/8.508, allocations: 3.094 kB / 465.5 MB, free: 98.58 MB / 410.7 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.1.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 11.962366319261491]