Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 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: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007312/0.0007312, allocations: 97.67 kB / 17.3 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008885/0.0008885, allocations: 178.5 kB / 18.2 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.179/1.179, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004161, allocations: 12 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07253/0.07296, allocations: 47.57 MB / 329 MB, free: 3.684 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.02251/0.0955, allocations: 25.72 MB / 354.8 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02299/0.1185, allocations: 25.23 MB / 380 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003222/0.1189, allocations: 0 / 380 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000699/0.1196, allocations: 250.7 kB / 380.2 MB, free: 316 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1421/0.2618, allocations: 346.8 kB / 380.6 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009842/0.2716, allocations: 3.242 MB / 383.8 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.2732, allocations: 1.394 MB / 385.2 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.2734, allocations: 81.94 kB / 385.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007186/0.2741, allocations: 336.1 kB / 385.6 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005296/0.2747, allocations: 310.7 kB / 385.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.81e-05/0.2747, allocations: 17.78 kB / 385.9 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03288/0.3076, allocations: 27.65 MB / 413.6 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002437/0.3079, allocations: 92.55 kB / 413.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000443/0.3084, allocations: 227.9 kB / 413.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04121/0.3496, allocations: 20.12 MB / 434 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3496, allocations: 0 / 434 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3496, allocations: 0 / 434 MB, free: 9.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.3497, allocations: 4 kB / 434 MB, free: 9.953 MB / 350.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.005524/0.3552, allocations: 1.053 MB / 435.1 MB, free: 8.898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.3552, allocations: 8.031 kB / 435.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.335e-05/0.3553, allocations: 77.28 kB / 435.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004897/0.3558, allocations: 75.42 kB / 435.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.3561, allocations: 313.2 kB / 435.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.3562, allocations: 28.66 kB / 435.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.3562, allocations: 35.05 kB / 435.6 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007685/0.357, allocations: 463.4 kB / 436.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.357, allocations: 6.625 kB / 436.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.3571, allocations: 16.69 kB / 436.1 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3571, allocations: 8 kB / 436.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006358/0.3577, allocations: 382.2 kB / 436.5 MB, free: 7.797 MB / 350.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.002772/0.3605, allocations: 2.952 MB / 439.4 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005548/0.3611, allocations: 292.7 kB / 439.7 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.3613, allocations: 132.8 kB / 439.8 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00211/0.3634, allocations: 2.532 MB / 442.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.3634, allocations: 43.58 kB / 442.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/0.3634, allocations: 0 / 442.4 MB, free: 1.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.004735/0.3682, allocations: 1.302 MB / 443.7 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.3682, allocations: 59.34 kB / 443.8 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.3684, allocations: 258.5 kB / 444 MB, free: 344 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.3685, allocations: 29.89 kB / 444.1 MB, free: 312 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.732e-05/0.3686, allocations: 189.8 kB / 444.2 MB, free: 152 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.3687, allocations: 124.8 kB / 444.4 MB, free: 44 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.106e-05/0.3687, allocations: 41.08 kB / 444.4 MB, free: 12 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.3688, allocations: 339.4 kB / 444.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.369, allocations: 114.7 kB / 444.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.3692, allocations: 227.9 kB / 445.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.3697, allocations: 377 kB / 445.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3697, allocations: 0 / 445.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006969/0.3704, allocations: 451.9 kB / 445.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3704, allocations: 8 kB / 445.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3704, allocations: 6.625 kB / 445.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004556/0.375, allocations: 241.2 kB / 446.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003113/0.3753, allocations: 92.92 kB / 446.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.3765, allocations: 1.847 MB / 448.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.3767, allocations: 23.98 kB / 448.1 MB, free: 12.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.3768, allocations: 21.38 kB / 448.1 MB, free: 12.55 MB / 366.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.0001615/0.3769, allocations: 164.9 kB / 448.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.03e-05/0.377, allocations: 36.64 kB / 448.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008875/0.3779, allocations: 0.6912 MB / 449 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.3779, allocations: 14.36 kB / 449 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.3779, allocations: 0 / 449 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006966/0.3786, allocations: 0.8648 MB / 449.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.3799, allocations: 1.191 MB / 451.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3799, allocations: 4 kB / 451.1 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.3801, allocations: 65.27 kB / 451.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001575/0.3817, allocations: 175 kB / 451.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.468e-05/0.3817, allocations: 15.17 kB / 451.3 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002845/0.382, allocations: 0.5804 MB / 451.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.382, allocations: 0 / 451.9 MB, free: 9.469 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007995/0.3829, allocations: 0.7404 MB / 452.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.106e-05/0.383, allocations: 126.3 kB / 452.8 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.383, allocations: 7.938 kB / 452.8 MB, free: 8.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002186/0.3832, allocations: 19.86 kB / 452.8 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.3833, allocations: 23.03 kB / 452.8 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.3833, allocations: 15.25 kB / 452.8 MB, free: 8.758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.3835, allocations: 225.1 kB / 453 MB, free: 8.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3835, allocations: 0 / 453 MB, free: 8.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003693/0.3872, allocations: 0.7383 MB / 453.8 MB, free: 7.895 MB / 366.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.03396/0.4212, allocations: 7.561 MB / 461.3 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009417/0.4222, allocations: 488.9 kB / 461.8 MB, free: 336 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.4222, allocations: 0 / 461.8 MB, free: 336 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.4226, allocations: 227.7 kB / 462 MB, free: 192 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.4238, allocations: 176 kB / 462.2 MB, free: 48 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007141/0.4309, allocations: 4.265 MB / 466.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.4313, allocations: 0.8164 MB / 467.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004039/0.4317, allocations: 190.3 kB / 467.5 MB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.4319, allocations: 135.4 kB / 467.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4319, allocations: 0 / 467.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05148/0.4834, allocations: 32.93 MB / 0.4888 GB, free: 10.21 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/0.4836, allocations: 211.3 kB / 0.489 GB, free: 9.961 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.945/3.429, allocations: 0 / 0.489 GB, free: 9.961 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Media.Examples.R134a.R134a1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches