Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005877/0.005877, allocations: 98.45 kB / 21.96 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00161/0.00161, allocations: 218.3 kB / 25.26 MB, free: 3.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 207.7 MB / 236.1 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001688, allocations: 47.94 kB / 348 MB, free: 9.883 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2299, allocations: 49.15 MB / 397.1 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0331/0.263, allocations: 33.89 MB / 431 MB, free: 256 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005594/0.2686, allocations: 4.17 MB / 435.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003889/0.269, allocations: 9.062 kB / 435.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008051/0.2698, allocations: 281.4 kB / 435.5 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009575/0.2708, allocations: 489.3 kB / 436 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004491/0.2752, allocations: 1.635 MB / 437.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.2769, allocations: 1.292 MB / 438.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002491/0.2771, allocations: 123 kB / 439 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006992/0.2778, allocations: 490.5 kB / 439.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005591/0.2784, allocations: 438.3 kB / 439.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.601e-05/0.2785, allocations: 44 kB / 440 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.28, allocations: 0.7649 MB / 440.7 MB, free: 7.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.2801, allocations: 143.5 kB / 440.9 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000265/0.2804, allocations: 235.2 kB / 441.1 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001423/0.2818, allocations: 1.059 MB / 442.2 MB, free: 6.008 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2818, allocations: 4 kB / 442.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2818, allocations: 0 / 442.2 MB, free: 6.004 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.2818, allocations: 0 / 442.2 MB, free: 6.004 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001085/0.2829, allocations: 0.7113 MB / 442.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.283, allocations: 15.97 kB / 442.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.209e-05/0.283, allocations: 9.188 kB / 442.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.271e-05/0.2831, allocations: 82.66 kB / 443 MB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000566/0.2836, allocations: 84.62 kB / 443.1 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004832/0.2841, allocations: 273.8 kB / 443.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.2841, allocations: 29.38 kB / 443.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.409e-05/0.2842, allocations: 48.08 kB / 443.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008146/0.285, allocations: 0.6613 MB / 444.1 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.285, allocations: 7.938 kB / 444.1 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.2851, allocations: 16 kB / 444.1 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.2851, allocations: 12 kB / 444.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.2856, allocations: 307.6 kB / 444.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01287/0.2984, allocations: 4.612 MB / 449 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.2989, allocations: 266.5 kB / 449.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002195/0.2991, allocations: 145.4 kB / 449.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/0.3094, allocations: 2.691 MB / 452.1 MB, free: 11.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.3095, allocations: 38.56 kB / 452.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.235e-06/0.3095, allocations: 0 / 452.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01192/0.3214, allocations: 2.311 MB / 454.4 MB, free: 9.387 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.3214, allocations: 55.41 kB / 454.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.3218, allocations: 296.6 kB / 454.8 MB, free: 9.027 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.722e-05/0.3219, allocations: 41.7 kB / 454.8 MB, free: 8.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.3221, allocations: 228.5 kB / 455.1 MB, free: 8.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.3222, allocations: 162.6 kB / 455.2 MB, free: 8.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.3223, allocations: 102.3 kB / 455.3 MB, free: 8.484 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3225, allocations: 346.8 kB / 455.7 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.3228, allocations: 149.2 kB / 455.8 MB, free: 7.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003691/0.3231, allocations: 280.6 kB / 456.1 MB, free: 7.668 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006705/0.3238, allocations: 472.3 kB / 456.5 MB, free: 7.156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3238, allocations: 0 / 456.5 MB, free: 7.156 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001099/0.3249, allocations: 0.5956 MB / 457.1 MB, free: 6.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3249, allocations: 8 kB / 457.1 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.3249, allocations: 4.469 kB / 457.1 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008259/0.3332, allocations: 1.843 MB / 459 MB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000439/0.3336, allocations: 107.8 kB / 459.1 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002145/0.3358, allocations: 2.458 MB / 461.5 MB, free: 1.949 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.3361, allocations: 16 kB / 461.6 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.3361, allocations: 24.22 kB / 461.6 MB, free: 1.91 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002407/0.3363, allocations: 185.6 kB / 461.8 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.435e-05/0.3364, allocations: 39.77 kB / 461.8 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.3377, allocations: 0.8687 MB / 462.7 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.3377, allocations: 8 kB / 462.7 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.3377, allocations: 4 kB / 462.7 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00107/0.3388, allocations: 0.9785 MB / 463.7 MB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/0.3407, allocations: 1.421 MB / 465.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3407, allocations: 0 / 465.1 MB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003041/0.341, allocations: 75.91 kB / 465.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003448/0.3445, allocations: 0.6334 MB / 465.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.182e-05/0.3446, allocations: 12 kB / 465.8 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.3457, allocations: 1.3 MB / 467.1 MB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.3457, allocations: 7.969 kB / 467.1 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.3473, allocations: 1.239 MB / 468.4 MB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3475, allocations: 43.69 kB / 468.4 MB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.297e-05/0.3475, allocations: 15.94 kB / 468.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.3478, allocations: 15.94 kB / 468.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.3478, allocations: 28.06 kB / 468.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.3478, allocations: 19.98 kB / 468.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002335/0.3481, allocations: 215.1 kB / 468.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3481, allocations: 0 / 468.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000755/0.3488, allocations: 227.7 kB / 468.9 MB, free: 10.35 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00253/0.3514, allocations: 1.961 MB / 470.9 MB, free: 8.352 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001303/0.3527, allocations: 0.6841 MB / 471.6 MB, free: 7.652 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3527, allocations: 4 kB / 471.6 MB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009207/0.3536, allocations: 428 kB / 472 MB, free: 7.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.3548, allocations: 246 kB / 472.2 MB, free: 6.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006057/0.3608, allocations: 4.487 MB / 476.7 MB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002365/0.3611, allocations: 229.3 kB / 476.9 MB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003105/0.3614, allocations: 72.33 kB / 477 MB, free: 1.988 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002248/0.3616, allocations: 163.4 kB / 477.2 MB, free: 1.828 MB / 382.1 MB Notification: Performance of SimCode: time 9.71e-07/0.3616, allocations: 4 kB / 477.2 MB, free: 1.824 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04536/0.407, allocations: 18.36 MB / 495.5 MB, free: 15.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.28, allocations: 4.062 kB / 495.5 MB, free: 15.37 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 19.493620060035028]