Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 175.2 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007341/0.000734, allocations: 95.58 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002834/0.0002835, allocations: 16 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1783, allocations: 47.57 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.01703/0.1954, allocations: 24.7 MB / 399.9 MB, free: 23.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01533/0.2108, allocations: 22.86 MB / 422.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003422/0.2112, allocations: 4 kB / 422.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005952/0.2118, allocations: 226.8 kB / 423 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005566/0.2123, allocations: 346.1 kB / 423.3 MB, free: 472 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007827/0.2202, allocations: 3.006 MB / 426.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.2213, allocations: 1.165 MB / 427.5 MB, free: 12.28 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.2215, allocations: 96.47 kB / 427.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004522/0.2219, allocations: 326.7 kB / 427.9 MB, free: 11.87 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003073/0.2222, allocations: 294.8 kB / 428.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.147e-05/0.2223, allocations: 16 kB / 428.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04953/0.2718, allocations: 40.22 MB / 468.4 MB, free: 3.309 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.272, allocations: 83.7 kB / 468.5 MB, free: 3.227 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003221/0.2724, allocations: 225 kB / 468.7 MB, free: 3 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02575/0.2981, allocations: 10.67 MB / 479.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2982, allocations: 0 / 479.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.2982, allocations: 0 / 479.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.2982, allocations: 4 kB / 479.4 MB, free: 8.316 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.005146/0.3034, allocations: 1.069 MB / 480.4 MB, free: 7.199 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3034, allocations: 11.97 kB / 480.5 MB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.046e-05/0.3035, allocations: 70.72 kB / 480.5 MB, free: 7.109 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004644/0.304, allocations: 72.44 kB / 480.6 MB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.3043, allocations: 315.6 kB / 480.9 MB, free: 6.691 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.958e-05/0.3044, allocations: 29.03 kB / 480.9 MB, free: 6.664 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.3044, allocations: 32.38 kB / 481 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007876/0.3052, allocations: 463.7 kB / 481.4 MB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.3052, allocations: 3.938 kB / 481.4 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.3053, allocations: 16 kB / 481.4 MB, free: 6.121 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.3053, allocations: 8 kB / 481.4 MB, free: 6.113 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006569/0.3059, allocations: 382.3 kB / 481.8 MB, free: 5.742 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.002949/0.3089, allocations: 2.949 MB / 484.8 MB, free: 2.555 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005561/0.3095, allocations: 284.8 kB / 485 MB, free: 2.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.3097, allocations: 137.2 kB / 485.2 MB, free: 2.133 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002168/0.3118, allocations: 2.54 MB / 487.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.3119, allocations: 42.5 kB / 487.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=30): time 1.723e-06/0.3119, allocations: 0 / 487.8 MB, free: 15.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.004531/0.3164, allocations: 1.293 MB / 489.1 MB, free: 13.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.3165, allocations: 55.41 kB / 489.1 MB, free: 13.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.3167, allocations: 254.6 kB / 489.4 MB, free: 13.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.361e-05/0.3168, allocations: 37.7 kB / 489.4 MB, free: 13.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.3169, allocations: 192 kB / 489.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.943e-05/0.317, allocations: 114.3 kB / 489.7 MB, free: 13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.997e-05/0.317, allocations: 12 kB / 489.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3171, allocations: 338.8 kB / 490 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.3173, allocations: 112.8 kB / 490.1 MB, free: 12.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.3175, allocations: 230 kB / 490.4 MB, free: 12.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004641/0.318, allocations: 373.5 kB / 490.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.318, allocations: 0 / 490.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000728/0.3187, allocations: 458.5 kB / 491.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3188, allocations: 8 kB / 491.2 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3188, allocations: 4 kB / 491.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004184/0.323, allocations: 241.9 kB / 491.4 MB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003107/0.3233, allocations: 91.83 kB / 491.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.3245, allocations: 1.848 MB / 493.4 MB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.3247, allocations: 28.11 kB / 493.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.3248, allocations: 23.94 kB / 493.4 MB, free: 8.992 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.325, allocations: 165.7 kB / 493.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.325, allocations: 31.62 kB / 493.6 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009311/0.326, allocations: 0.6942 MB / 494.3 MB, free: 8.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.326, allocations: 15.92 kB / 494.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.326, allocations: 0 / 494.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007238/0.3267, allocations: 0.8518 MB / 495.2 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.328, allocations: 1.191 MB / 496.4 MB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.3281, allocations: 15.92 kB / 496.4 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.3283, allocations: 59.91 kB / 496.4 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001468/0.3298, allocations: 176.6 kB / 496.6 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.3298, allocations: 11.98 kB / 496.6 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002977/0.3301, allocations: 0.5757 MB / 497.2 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3301, allocations: 0 / 497.2 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008347/0.331, allocations: 0.7331 MB / 497.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.631e-05/0.3311, allocations: 128.6 kB / 498.1 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.249e-05/0.3311, allocations: 12.06 kB / 498.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.3313, allocations: 23.92 kB / 498.1 MB, free: 4.086 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.3314, allocations: 23.72 kB / 498.1 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.3314, allocations: 12 kB / 498.1 MB, free: 4.051 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000202/0.3316, allocations: 217.9 kB / 498.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3317, allocations: 4 kB / 498.3 MB, free: 3.832 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003669/0.3353, allocations: 0.7379 MB / 499.1 MB, free: 3.094 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.1626/0.498, allocations: 7.549 MB / 0.4948 GB, free: 105.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.499, allocations: 492.2 kB / 0.4952 GB, free: 105.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.499, allocations: 0 / 0.4952 GB, free: 105.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.4994, allocations: 222.1 kB / 0.4954 GB, free: 105.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.5004, allocations: 183.8 kB / 0.4956 GB, free: 105.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005255/0.5057, allocations: 2.617 MB / 0.4982 GB, free: 104.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.5059, allocations: 0.8092 MB / 0.499 GB, free: 103.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.5061, allocations: 136.4 kB / 0.4991 GB, free: 103.6 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5061, allocations: 0 / 0.4991 GB, free: 103.6 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.649/5.155, allocations: 29.75 MB / 0.5281 GB, free: 78 MB / 378.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/R134a/R134a1/R134a1.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches