Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001788/0.001788, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001996/0.001996, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.402/1.402, allocations: 207.7 MB / 235.3 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] 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.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",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.002584/0.002584, allocations: 59.05 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2534, allocations: 49.15 MB / 396.4 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02569/0.2791, allocations: 24.49 MB / 420.8 MB, free: 7.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00526/0.2844, allocations: 3.775 MB / 424.6 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.2846, allocations: 11.75 kB / 424.6 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006966/0.2853, allocations: 188.9 kB / 424.8 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006968/0.286, allocations: 343.4 kB / 425.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005964/0.292, allocations: 1.455 MB / 426.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.2935, allocations: 0.8979 MB / 427.5 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.2938, allocations: 77.73 kB / 427.6 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009512/0.3033, allocations: 4.13 MB / 431.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008073/0.3041, allocations: 274.9 kB / 432 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001237/0.3042, allocations: 32 kB / 432 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002431/0.3066, allocations: 0.7063 MB / 432.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.3068, allocations: 99.67 kB / 432.8 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004593/0.3073, allocations: 171.4 kB / 433 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002102/0.3094, allocations: 0.8531 MB / 433.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3094, allocations: 0 / 433.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.763e-06/0.3094, allocations: 3.984 kB / 433.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.3094, allocations: 0 / 433.8 MB, free: 13.71 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001565/0.311, allocations: 0.5828 MB / 434.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.311, allocations: 19.97 kB / 434.4 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.3112, allocations: 58.73 kB / 434.5 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007258/0.3119, allocations: 60.72 kB / 434.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007318/0.3126, allocations: 226 kB / 434.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.3127, allocations: 25.02 kB / 434.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.38e-05/0.3127, allocations: 28.38 kB / 434.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000936/0.3137, allocations: 489.8 kB / 435.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.3137, allocations: 7.938 kB / 435.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/0.3137, allocations: 16 kB / 435.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.3138, allocations: 4 kB / 435.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005516/0.3143, allocations: 209.8 kB / 435.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01654/0.3308, allocations: 4.133 MB / 439.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004528/0.3313, allocations: 170.6 kB / 439.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.3315, allocations: 84.77 kB / 439.9 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01312/0.3446, allocations: 2.684 MB / 442.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.98e-05/0.3447, allocations: 38.55 kB / 442.6 MB, free: 4.656 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.944e-06/0.3447, allocations: 3.938 kB / 442.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.00598/0.3506, allocations: 1.252 MB / 443.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.3507, allocations: 55.41 kB / 444 MB, free: 3.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.351, allocations: 269.8 kB / 444.2 MB, free: 3.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.791e-05/0.351, allocations: 37.7 kB / 444.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.3512, allocations: 188.5 kB / 444.4 MB, free: 2.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.121e-05/0.3512, allocations: 99.16 kB / 444.5 MB, free: 2.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.955e-05/0.3513, allocations: 65.66 kB / 444.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.3515, allocations: 338.8 kB / 444.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.3517, allocations: 91.73 kB / 445 MB, free: 2.188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.3519, allocations: 194.8 kB / 445.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.3523, allocations: 299 kB / 445.5 MB, free: 1.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3523, allocations: 4 kB / 445.5 MB, free: 1.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000687/0.353, allocations: 394.8 kB / 445.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.353, allocations: 8 kB / 445.9 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/0.3531, allocations: 4 kB / 445.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003922/0.357, allocations: 0.9342 MB / 446.8 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002703/0.3572, allocations: 71.91 kB / 446.9 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001781/0.359, allocations: 1.874 MB / 448.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.3592, allocations: 12 kB / 448.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.3592, allocations: 16 kB / 448.8 MB, free: 14.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.3594, allocations: 161.6 kB / 449 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.399e-05/0.3595, allocations: 23.86 kB / 449 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007801/0.3603, allocations: 0.491 MB / 449.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.3603, allocations: 12 kB / 449.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3603, allocations: 3.984 kB / 449.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008039/0.3611, allocations: 0.7169 MB / 450.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/0.3625, allocations: 0.8943 MB / 451.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3625, allocations: 0 / 451.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.3627, allocations: 51.91 kB / 451.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/0.3643, allocations: 316.3 kB / 451.5 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.3644, allocations: 11.94 kB / 451.5 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005822/0.3649, allocations: 0.65 MB / 452.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3649, allocations: 0 / 452.1 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.366, allocations: 0.7409 MB / 452.9 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.603e-05/0.366, allocations: 23.84 kB / 452.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.455e-05/0.3661, allocations: 11.98 kB / 452.9 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.3662, allocations: 8.125 kB / 452.9 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.3663, allocations: 15.97 kB / 452.9 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.3663, allocations: 12 kB / 452.9 MB, free: 9.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001864/0.3665, allocations: 181.2 kB / 453.1 MB, free: 9.633 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3665, allocations: 0 / 453.1 MB, free: 9.633 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006386/0.3671, allocations: 195.7 kB / 453.3 MB, free: 9.441 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001715/0.3688, allocations: 1.434 MB / 454.7 MB, free: 7.973 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007926/0.3696, allocations: 442.4 kB / 455.2 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3696, allocations: 0 / 455.2 MB, free: 7.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005408/0.3702, allocations: 236.5 kB / 455.4 MB, free: 7.297 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009183/0.3711, allocations: 176.1 kB / 455.6 MB, free: 7.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.3754, allocations: 3.332 MB / 458.9 MB, free: 3.621 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001692/0.3755, allocations: 176.2 kB / 459.1 MB, free: 3.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002039/0.3757, allocations: 50.92 kB / 459.1 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001533/0.3759, allocations: 103.4 kB / 459.2 MB, free: 3.273 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3759, allocations: 4 kB / 459.2 MB, free: 3.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04564/0.4215, allocations: 14.41 MB / 473.7 MB, free: 4.777 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.5, allocations: 7.844 kB / 473.7 MB, free: 4.77 MB / 382.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 16.685820749029517]