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.001802/0.001802, 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.002076/0.002076, allocations: 213.5 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.366/1.366, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",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.00178/0.00178, allocations: 55.92 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2524, allocations: 49.15 MB / 396.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03569/0.2881, allocations: 33.93 MB / 430.3 MB, free: 244 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006264/0.2943, allocations: 4.165 MB / 434.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.2947, allocations: 13.81 kB / 434.5 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009068/0.2956, allocations: 279.7 kB / 434.7 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009737/0.2966, allocations: 493.3 kB / 435.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005724/0.3023, allocations: 1.627 MB / 436.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001683/0.304, allocations: 1.284 MB / 438.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002538/0.3042, allocations: 123 kB / 438.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006538/0.3049, allocations: 494.4 kB / 438.7 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005347/0.3054, allocations: 410.3 kB / 439.1 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.96e-05/0.3055, allocations: 48 kB / 439.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.3071, allocations: 0.7258 MB / 439.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.3073, allocations: 147.5 kB / 440.1 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002605/0.3075, allocations: 235.2 kB / 440.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001408/0.3089, allocations: 1.059 MB / 441.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3089, allocations: 0 / 441.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3089, allocations: 4 kB / 441.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.309, allocations: 4 kB / 441.3 MB, free: 6.031 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.001144/0.3101, allocations: 0.7074 MB / 442.1 MB, free: 5.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.3101, allocations: 15.97 kB / 442.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.388e-05/0.3102, allocations: 78.72 kB / 442.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005745/0.3108, allocations: 76.62 kB / 442.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005753/0.3114, allocations: 285.7 kB / 442.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.3114, allocations: 29.38 kB / 442.5 MB, free: 4.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.543e-05/0.3115, allocations: 44.33 kB / 442.6 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008657/0.3124, allocations: 0.6613 MB / 443.2 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.3124, allocations: 4 kB / 443.2 MB, free: 3.977 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.3124, allocations: 20 kB / 443.3 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.3124, allocations: 12 kB / 443.3 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005061/0.3129, allocations: 307.6 kB / 443.6 MB, free: 3.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.3261, allocations: 4.612 MB / 448.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.3266, allocations: 254.5 kB / 448.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.3268, allocations: 149.4 kB / 448.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/0.3372, allocations: 2.684 MB / 451.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.3372, allocations: 42.5 kB / 451.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.953e-06/0.3372, allocations: 0 / 451.3 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.01167/0.3489, allocations: 2.315 MB / 453.6 MB, free: 9.438 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.3489, allocations: 63.33 kB / 453.7 MB, free: 9.363 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000383/0.3493, allocations: 308.5 kB / 454 MB, free: 9.059 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.3494, allocations: 29.7 kB / 454 MB, free: 9.023 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.3496, allocations: 232.5 kB / 454.2 MB, free: 8.789 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.3497, allocations: 170.6 kB / 454.4 MB, free: 8.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.3499, allocations: 102.3 kB / 454.5 MB, free: 8.516 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3501, allocations: 346.8 kB / 454.8 MB, free: 8.168 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/0.3503, allocations: 153.2 kB / 455 MB, free: 8.016 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003807/0.3507, allocations: 272.7 kB / 455.3 MB, free: 7.703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006905/0.3514, allocations: 476.2 kB / 455.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.3514, allocations: 0 / 455.7 MB, free: 7.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001124/0.3525, allocations: 0.5918 MB / 456.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.3525, allocations: 4 kB / 456.3 MB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.3526, allocations: 7.938 kB / 456.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007883/0.3604, allocations: 1.848 MB / 458.2 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.3609, allocations: 107.8 kB / 458.3 MB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.3632, allocations: 2.454 MB / 460.7 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.3636, allocations: 12 kB / 460.7 MB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.3636, allocations: 20 kB / 460.8 MB, free: 1.949 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.0002759/0.3639, allocations: 189.8 kB / 460.9 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.62e-05/0.364, allocations: 39.77 kB / 461 MB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.3653, allocations: 0.8725 MB / 461.9 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.3653, allocations: 4 kB / 461.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.3653, allocations: 4 kB / 461.9 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001189/0.3665, allocations: 0.9747 MB / 462.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002153/0.3687, allocations: 1.425 MB / 464.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.3687, allocations: 0 / 464.3 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000316/0.369, allocations: 83.88 kB / 464.4 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003348/0.3723, allocations: 0.6219 MB / 465 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.3724, allocations: 15.94 kB / 465 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.3735, allocations: 1.296 MB / 466.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.3735, allocations: 7.969 kB / 466.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.3753, allocations: 1.246 MB / 467.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3754, allocations: 43.69 kB / 467.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.3755, allocations: 12 kB / 467.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000227/0.3757, allocations: 7.938 kB / 467.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.3758, allocations: 31.94 kB / 467.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.696e-05/0.3758, allocations: 19.98 kB / 467.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002557/0.376, allocations: 215.1 kB / 467.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.376, allocations: 0 / 467.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007591/0.3768, allocations: 227.8 kB / 468.1 MB, free: 10.39 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.002597/0.3794, allocations: 1.973 MB / 470.1 MB, free: 8.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001315/0.3807, allocations: 0.6837 MB / 470.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3807, allocations: 0 / 470.7 MB, free: 7.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000962/0.3817, allocations: 428.4 kB / 471.2 MB, free: 7.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.383, allocations: 232.6 kB / 471.4 MB, free: 7.043 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/0.3894, allocations: 4.499 MB / 475.9 MB, free: 2.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.3897, allocations: 229.3 kB / 476.1 MB, free: 2.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003115/0.39, allocations: 80.27 kB / 476.2 MB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.3902, allocations: 159.4 kB / 476.3 MB, free: 1.855 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3902, allocations: 0 / 476.3 MB, free: 1.855 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0545/0.4447, allocations: 18.5 MB / 494.8 MB, free: 15.27 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.23, allocations: 3.953 kB / 494.8 MB, free: 15.26 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: 17.45235102623701]