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.001241/0.001241, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001109/0.001109, allocations: 204 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2069, allocations: 50.54 MB / 409.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02478/0.2317, allocations: 26.67 MB / 436.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02357/0.2553, allocations: 24.9 MB / 461.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.2555, allocations: 7.938 kB / 461.5 MB, free: 13.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006849/0.2562, allocations: 294.3 kB / 461.8 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006128/0.2569, allocations: 365.9 kB / 462.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008029/0.2649, allocations: 4.021 MB / 466.2 MB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008569/0.2658, allocations: 0.9425 MB / 467.1 MB, free: 8.188 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001868/0.266, allocations: 121 kB / 467.2 MB, free: 8.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004815/0.2665, allocations: 386.6 kB / 467.6 MB, free: 7.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.2668, allocations: 298.8 kB / 467.9 MB, free: 7.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.9e-05/0.2669, allocations: 40 kB / 468 MB, free: 7.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01664/0.2835, allocations: 10.43 MB / 478.4 MB, free: 12.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.2837, allocations: 103.7 kB / 478.5 MB, free: 12.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.2839, allocations: 231.1 kB / 478.7 MB, free: 12.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02715/0.3111, allocations: 11.48 MB / 490.2 MB, free: 1.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.3111, allocations: 0 / 490.2 MB, free: 1.082 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3111, allocations: 0 / 490.2 MB, free: 1.082 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3111, allocations: 0 / 490.2 MB, free: 1.082 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.004864/0.316, allocations: 1.15 MB / 491.3 MB, free: 15.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.316, allocations: 8.031 kB / 491.4 MB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/0.3165, allocations: 71.59 kB / 491.4 MB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004317/0.317, allocations: 322.2 kB / 491.7 MB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.317, allocations: 24.66 kB / 491.8 MB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.3171, allocations: 32 kB / 491.8 MB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008251/0.3179, allocations: 467.7 kB / 492.2 MB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.3179, allocations: 4 kB / 492.3 MB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.318, allocations: 12 kB / 492.3 MB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.318, allocations: 11.94 kB / 492.3 MB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007181/0.3187, allocations: 386.3 kB / 492.7 MB, free: 14.5 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.003114/0.3218, allocations: 2.949 MB / 495.6 MB, free: 11.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.3225, allocations: 289.4 kB / 495.9 MB, free: 11.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.3227, allocations: 136 kB / 496 MB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002192/0.3249, allocations: 2.474 MB / 498.5 MB, free: 7.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.3249, allocations: 42.56 kB / 498.5 MB, free: 7.863 MB / 414.1 MB Notification: Performance of pre-optimization done (n=30): time 1.624e-06/0.3249, allocations: 0 / 498.5 MB, free: 7.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.005169/0.3301, allocations: 1.286 MB / 499.8 MB, free: 6.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.3302, allocations: 55.34 kB / 499.9 MB, free: 6.434 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.3304, allocations: 262.5 kB / 0.4884 GB, free: 6.168 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.3305, allocations: 33.7 kB / 0.4884 GB, free: 6.129 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.3306, allocations: 200 kB / 0.4886 GB, free: 5.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.815e-05/0.3307, allocations: 118.3 kB / 0.4887 GB, free: 5.812 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/0.3308, allocations: 78.12 kB / 0.4888 GB, free: 5.73 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3309, allocations: 338.8 kB / 0.4891 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.3311, allocations: 116.8 kB / 0.4893 GB, free: 5.277 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002672/0.3314, allocations: 226.1 kB / 0.4895 GB, free: 5.008 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005046/0.3319, allocations: 373.5 kB / 0.4898 GB, free: 4.594 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3319, allocations: 0 / 0.4898 GB, free: 4.594 MB / 414.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008179/0.3327, allocations: 462.8 kB / 0.4903 GB, free: 4.129 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3328, allocations: 7.938 kB / 0.4903 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3328, allocations: 4 kB / 0.4903 GB, free: 4.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005353/0.3381, allocations: 241.4 kB / 0.4905 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.3385, allocations: 83.89 kB / 0.4906 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.3398, allocations: 1.954 MB / 0.4925 GB, free: 1.672 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.34, allocations: 8 kB / 0.4925 GB, free: 1.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.252e-05/0.3401, allocations: 20 kB / 0.4925 GB, free: 1.645 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.0001678/0.3403, allocations: 165.7 kB / 0.4927 GB, free: 1.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.3403, allocations: 27.72 kB / 0.4927 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009825/0.3413, allocations: 0.6969 MB / 0.4934 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008216/0.3422, allocations: 0.8632 MB / 0.4942 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.3422, allocations: 0 / 0.4942 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.118e-05/0.3423, allocations: 108.6 kB / 0.4943 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.3423, allocations: 11.94 kB / 0.4943 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3425, allocations: 8 kB / 0.4944 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.3426, allocations: 27.89 kB / 0.4944 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008976/0.3435, allocations: 0.5174 MB / 0.4949 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008893/0.3444, allocations: 0.7595 MB / 0.4956 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002291/0.3446, allocations: 184.3 kB / 0.4958 GB, free: 14.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.3448, allocations: 221.9 kB / 0.496 GB, free: 13.91 MB / 430.1 MB Notification: Performance of Backend: time 1.603e-06/0.3449, allocations: 4.062 kB / 0.496 GB, free: 13.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.03669/0.3816, allocations: 9.95 MB / 0.5057 GB, free: 3.918 MB / 430.1 MB Notification: Performance of SimCode: time 0.001524/0.3831, allocations: 1.28 MB / 0.507 GB, free: 2.594 MB / 430.1 MB Notification: Performance of Templates: time 0.04222/0.4253, allocations: 33.39 MB / 0.5396 GB, free: 1.176 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches