Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 186 kB / 23.7 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.7 MB / 252.5 MB, free: 12.85 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 43.92 kB / 370.9 MB, free: 9.234 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2319, allocations: 52.18 MB / 423.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03122/0.2631, allocations: 24.63 MB / 447.7 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02873/0.2918, allocations: 22.06 MB / 469.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003375/0.2921, allocations: 4 kB / 469.8 MB, free: 15.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008592/0.293, allocations: 270.5 kB / 470 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000957/0.294, allocations: 377.8 kB / 470.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01207/0.306, allocations: 4.102 MB / 474.5 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001336/0.3074, allocations: 0.9619 MB / 475.5 MB, free: 9.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002239/0.3076, allocations: 77.22 kB / 475.5 MB, free: 9.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008276/0.3084, allocations: 398.7 kB / 475.9 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000562/0.309, allocations: 306.7 kB / 476.2 MB, free: 9.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.402e-05/0.3091, allocations: 36 kB / 476.3 MB, free: 9.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01973/0.3288, allocations: 10.13 MB / 486.4 MB, free: 14.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.329, allocations: 111.6 kB / 486.5 MB, free: 14.88 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003918/0.3294, allocations: 191.4 kB / 486.7 MB, free: 14.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03276/0.3622, allocations: 11.5 MB / 498.2 MB, free: 3.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3622, allocations: 0 / 498.2 MB, free: 3.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3622, allocations: 0 / 498.2 MB, free: 3.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.3622, allocations: 4 kB / 498.2 MB, free: 3.18 MB / 398.1 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.005687/0.3679, allocations: 1.104 MB / 499.3 MB, free: 2.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.3679, allocations: 12.03 kB / 499.3 MB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005622/0.3685, allocations: 67.73 kB / 499.4 MB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005469/0.369, allocations: 260.6 kB / 499.6 MB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.3691, allocations: 24.66 kB / 499.6 MB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.3691, allocations: 39.94 kB / 499.7 MB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.3701, allocations: 0.6112 MB / 0.4886 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.3702, allocations: 3.984 kB / 0.4886 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.3702, allocations: 16 kB / 0.4886 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.3702, allocations: 12 kB / 0.4886 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007894/0.371, allocations: 382.3 kB / 0.489 GB, free: 0.5312 MB / 398.1 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.003658/0.3747, allocations: 2.18 MB / 0.4911 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007082/0.3754, allocations: 270.8 kB / 0.4914 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.3756, allocations: 124.8 kB / 0.4915 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00151/0.3771, allocations: 467.5 kB / 0.4919 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.987e-05/0.3772, allocations: 38.5 kB / 0.492 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.804e-06/0.3772, allocations: 0 / 0.492 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005251/0.3824, allocations: 1.142 MB / 0.4931 GB, free: 12.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.3824, allocations: 55.41 kB / 0.4931 GB, free: 12.13 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.3827, allocations: 236 kB / 0.4933 GB, free: 11.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.445e-05/0.3828, allocations: 33.7 kB / 0.4934 GB, free: 11.85 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.3829, allocations: 200.3 kB / 0.4936 GB, free: 11.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.3831, allocations: 126.9 kB / 0.4937 GB, free: 11.53 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3832, allocations: 82.08 kB / 0.4938 GB, free: 11.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3833, allocations: 334.8 kB / 0.4941 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.3836, allocations: 120.8 kB / 0.4942 GB, free: 10.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.3839, allocations: 230 kB / 0.4944 GB, free: 10.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.3844, allocations: 370 kB / 0.4948 GB, free: 10.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3844, allocations: 0 / 0.4948 GB, free: 10.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008897/0.3853, allocations: 455.1 kB / 0.4952 GB, free: 9.844 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.3853, allocations: 7.938 kB / 0.4952 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.3853, allocations: 4 kB / 0.4952 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004558/0.3899, allocations: 237.4 kB / 0.4954 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.3902, allocations: 91.83 kB / 0.4955 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.3919, allocations: 1.813 MB / 0.4973 GB, free: 7.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.3921, allocations: 16 kB / 0.4973 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.3921, allocations: 20 kB / 0.4973 GB, free: 7.531 MB / 414.1 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.0002214/0.3923, allocations: 169.6 kB / 0.4975 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.249e-05/0.3924, allocations: 35.78 kB / 0.4975 GB, free: 7.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.3936, allocations: 0.7082 MB / 0.4982 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3936, allocations: 12.12 kB / 0.4982 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.3936, allocations: 0 / 0.4982 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009655/0.3945, allocations: 0.8752 MB / 0.4991 GB, free: 5.621 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.3962, allocations: 1.073 MB / 0.5001 GB, free: 4.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.3962, allocations: 4.062 kB / 0.5001 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.3965, allocations: 71.89 kB / 0.5002 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001578/0.398, allocations: 184.4 kB / 0.5004 GB, free: 4.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.3981, allocations: 12 kB / 0.5004 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004365/0.3985, allocations: 0.568 MB / 0.501 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.3985, allocations: 3.984 kB / 0.501 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.3997, allocations: 0.7383 MB / 0.5017 GB, free: 2.883 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.807e-05/0.3997, allocations: 35.69 kB / 0.5017 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.908e-05/0.3998, allocations: 8 kB / 0.5017 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.4, allocations: 8 kB / 0.5017 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.4, allocations: 28.05 kB / 0.5018 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.4, allocations: 16 kB / 0.5018 GB, free: 2.789 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.4003, allocations: 197.2 kB / 0.502 GB, free: 2.598 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4003, allocations: 0 / 0.502 GB, free: 2.598 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00389/0.4042, allocations: 0.7519 MB / 0.5027 GB, free: 1.844 MB / 414.1 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.02576/0.4299, allocations: 6.403 MB / 0.5089 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001161/0.4311, allocations: 474.2 kB / 0.5094 GB, free: 10.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.4311, allocations: 4 kB / 0.5094 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004646/0.4316, allocations: 208.9 kB / 0.5096 GB, free: 10.73 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.4326, allocations: 164.6 kB / 0.5098 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.4343, allocations: 0.91 MB / 0.5107 GB, free: 9.637 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.4346, allocations: 204.9 kB / 0.5108 GB, free: 9.422 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004202/0.435, allocations: 175.5 kB / 0.511 GB, free: 9.246 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.537e-05/0.4351, allocations: 43.42 kB / 0.5111 GB, free: 9.207 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4351, allocations: 0 / 0.5111 GB, free: 9.207 MB / 430.1 MB Notification: Performance of Templates: time 0.2331/0.6682, allocations: 29.08 MB / 0.5395 GB, free: 108 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 8.114599712193012]