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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001226, allocations: 197.2 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/0.2265, allocations: 50.54 MB / 409.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02483/0.2514, allocations: 26.67 MB / 435.9 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02369/0.2751, allocations: 24.9 MB / 460.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003715/0.2755, allocations: 8 kB / 460.8 MB, free: 13.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008248/0.2763, allocations: 302.3 kB / 461.1 MB, free: 13.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009011/0.2773, allocations: 381.9 kB / 461.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01048/0.2878, allocations: 4.099 MB / 465.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.2889, allocations: 0.9425 MB / 466.5 MB, free: 8.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.2892, allocations: 120.6 kB / 466.7 MB, free: 8.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007066/0.2899, allocations: 390.6 kB / 467 MB, free: 7.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004491/0.2903, allocations: 294.8 kB / 467.3 MB, free: 7.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.432e-05/0.2904, allocations: 40 kB / 467.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01724/0.3077, allocations: 10.43 MB / 477.8 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002013/0.3079, allocations: 103.7 kB / 477.9 MB, free: 12.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003632/0.3083, allocations: 227.1 kB / 478.1 MB, free: 12.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02425/0.3325, allocations: 11.49 MB / 489.6 MB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.3326, allocations: 0 / 489.6 MB, free: 1.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3326, allocations: 0 / 489.6 MB, free: 1.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.3326, allocations: 4 kB / 489.6 MB, free: 1.012 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.005721/0.3383, allocations: 1.146 MB / 490.8 MB, free: 15.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3384, allocations: 8.031 kB / 490.8 MB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005558/0.3389, allocations: 67.59 kB / 490.8 MB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.3394, allocations: 326.3 kB / 491.2 MB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.3395, allocations: 24.66 kB / 491.2 MB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.35e-05/0.3395, allocations: 28 kB / 491.2 MB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/0.3404, allocations: 471.7 kB / 491.7 MB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.3404, allocations: 3.938 kB / 491.7 MB, free: 14.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.3405, allocations: 16 kB / 491.7 MB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.3405, allocations: 8 kB / 491.7 MB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007455/0.3412, allocations: 386.3 kB / 492.1 MB, free: 14.43 MB / 414.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.003171/0.3444, allocations: 2.949 MB / 495 MB, free: 11.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006518/0.3451, allocations: 290.8 kB / 495.3 MB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.3453, allocations: 132.8 kB / 495.4 MB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002229/0.3475, allocations: 2.478 MB / 497.9 MB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3476, allocations: 34.5 kB / 497.9 MB, free: 7.797 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.863e-06/0.3476, allocations: 4 kB / 497.9 MB, free: 7.793 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005147/0.3527, allocations: 1.29 MB / 499.2 MB, free: 6.426 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.3528, allocations: 55.41 kB / 499.3 MB, free: 6.359 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.353, allocations: 266.5 kB / 499.6 MB, free: 6.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.3531, allocations: 29.7 kB / 499.6 MB, free: 6.055 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.3532, allocations: 192 kB / 499.8 MB, free: 5.863 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.009e-05/0.3533, allocations: 118.3 kB / 499.9 MB, free: 5.746 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.3534, allocations: 78.12 kB / 500 MB, free: 5.664 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3535, allocations: 346.8 kB / 0.4886 GB, free: 5.316 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.3537, allocations: 112.8 kB / 0.4887 GB, free: 5.207 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.354, allocations: 230 kB / 0.4889 GB, free: 4.934 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005228/0.3546, allocations: 369.5 kB / 0.4893 GB, free: 4.523 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3546, allocations: 0 / 0.4893 GB, free: 4.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008208/0.3554, allocations: 462.8 kB / 0.4897 GB, free: 4.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.3554, allocations: 12.06 kB / 0.4897 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3554, allocations: 3.984 kB / 0.4897 GB, free: 4.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004856/0.3603, allocations: 233.4 kB / 0.4899 GB, free: 3.809 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.3607, allocations: 91.83 kB / 0.49 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.362, allocations: 1.947 MB / 0.4919 GB, free: 1.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.3622, allocations: 12 kB / 0.4919 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.3623, allocations: 16 kB / 0.4919 GB, free: 1.578 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.0001859/0.3625, allocations: 173.6 kB / 0.4921 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.211e-05/0.3626, allocations: 31.66 kB / 0.4921 GB, free: 1.367 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009898/0.3636, allocations: 0.6852 MB / 0.4928 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.3636, allocations: 16.08 kB / 0.4928 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.3636, allocations: 0 / 0.4928 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008338/0.3644, allocations: 0.8593 MB / 0.4937 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.3659, allocations: 1.195 MB / 0.4948 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3659, allocations: 0 / 0.4948 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.3661, allocations: 59.91 kB / 0.4949 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001524/0.3677, allocations: 180.5 kB / 0.4951 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.3677, allocations: 11.94 kB / 0.4951 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003273/0.368, allocations: 0.5719 MB / 0.4956 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.3681, allocations: 4.031 kB / 0.4956 GB, free: 13.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009242/0.369, allocations: 0.7381 MB / 0.4964 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.856e-05/0.3691, allocations: 108.6 kB / 0.4965 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.3691, allocations: 8 kB / 0.4965 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.3693, allocations: 8 kB / 0.4965 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.3694, allocations: 23.91 kB / 0.4965 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.3694, allocations: 19.98 kB / 0.4965 GB, free: 12.66 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.3696, allocations: 226 kB / 0.4967 GB, free: 12.44 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3696, allocations: 0 / 0.4967 GB, free: 12.44 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004002/0.3737, allocations: 0.7379 MB / 0.4975 GB, free: 11.7 MB / 430.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.02329/0.397, allocations: 6.401 MB / 0.5037 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009589/0.3979, allocations: 482.3 kB / 0.5042 GB, free: 4.797 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.398, allocations: 4 kB / 0.5042 GB, free: 4.793 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004325/0.3984, allocations: 220 kB / 0.5044 GB, free: 4.574 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.3994, allocations: 192 kB / 0.5046 GB, free: 4.391 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.401, allocations: 0.901 MB / 0.5054 GB, free: 3.461 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.4013, allocations: 0.8012 MB / 0.5062 GB, free: 2.629 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003831/0.4017, allocations: 191 kB / 0.5064 GB, free: 2.441 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.4018, allocations: 31.44 kB / 0.5064 GB, free: 2.414 MB / 430.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4018, allocations: 0 / 0.5064 GB, free: 2.414 MB / 430.1 MB Notification: Performance of Templates: time 0.04038/0.4422, allocations: 29.09 MB / 0.5348 GB, free: 5.316 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.makefile (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 & ./Modelica_trunk_Modelica.Media.Examples.R134a.R134a1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches