Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 101.5 kB / 21.21 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 195.4 kB / 24.49 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 47.92 kB / 371.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2323, allocations: 52.19 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02732/0.2596, allocations: 24.45 MB / 447.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004758/0.2643, allocations: 3.755 MB / 451.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.2645, allocations: 7.938 kB / 451.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000591/0.2651, allocations: 194.8 kB / 451.8 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006142/0.2657, allocations: 346.1 kB / 452.1 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003652/0.2694, allocations: 1.459 MB / 453.6 MB, free: 72 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.2704, allocations: 0.9067 MB / 454.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.2706, allocations: 80.83 kB / 454.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006113/0.2767, allocations: 4.142 MB / 458.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003995/0.2771, allocations: 282.9 kB / 459 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.334e-05/0.2771, allocations: 32 kB / 459 MB, free: 10.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.2785, allocations: 0.7298 MB / 459.7 MB, free: 9.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001325/0.2786, allocations: 111.6 kB / 459.8 MB, free: 9.789 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.2788, allocations: 159.4 kB / 460 MB, free: 9.633 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.2799, allocations: 0.8531 MB / 460.9 MB, free: 8.777 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2799, allocations: 0 / 460.9 MB, free: 8.777 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.28, allocations: 4 kB / 460.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.28, allocations: 0 / 460.9 MB, free: 8.773 MB / 366.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.000893/0.2809, allocations: 0.5789 MB / 461.4 MB, free: 8.164 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.2809, allocations: 12.03 kB / 461.4 MB, free: 8.152 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.22e-05/0.2809, allocations: 8.844 kB / 461.5 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.54e-05/0.281, allocations: 58.73 kB / 461.5 MB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004289/0.2814, allocations: 64.66 kB / 461.6 MB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.2818, allocations: 237.9 kB / 461.8 MB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.319e-05/0.2818, allocations: 17.03 kB / 461.8 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.669e-05/0.2819, allocations: 32.12 kB / 461.9 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005966/0.2825, allocations: 489.8 kB / 462.3 MB, free: 7.16 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.2825, allocations: 7.938 kB / 462.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.2825, allocations: 12 kB / 462.4 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.2825, allocations: 4 kB / 462.4 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.2829, allocations: 213.8 kB / 462.6 MB, free: 6.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0123/0.2952, allocations: 4.141 MB / 466.7 MB, free: 2.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.2955, allocations: 174.6 kB / 466.9 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.2956, allocations: 80.83 kB / 467 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01001/0.3056, allocations: 2.688 MB / 469.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.3057, allocations: 38.56 kB / 469.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.723e-06/0.3057, allocations: 0 / 469.7 MB, free: 15.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006071/0.3117, allocations: 1.257 MB / 470.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.3118, allocations: 63.33 kB / 471 MB, free: 14.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.3121, allocations: 253.9 kB / 471.3 MB, free: 14.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.3121, allocations: 29.7 kB / 471.3 MB, free: 14.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.3122, allocations: 192.4 kB / 471.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.845e-05/0.3123, allocations: 107.1 kB / 471.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3124, allocations: 61.7 kB / 471.6 MB, free: 13.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3126, allocations: 334.8 kB / 472 MB, free: 13.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.3127, allocations: 99.73 kB / 472.1 MB, free: 13.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.313, allocations: 179.1 kB / 472.2 MB, free: 13.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.3134, allocations: 299 kB / 472.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.3134, allocations: 3.938 kB / 472.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006871/0.3141, allocations: 402.9 kB / 472.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3141, allocations: 4 kB / 472.9 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3141, allocations: 7.938 kB / 472.9 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004168/0.3183, allocations: 0.9436 MB / 473.9 MB, free: 11.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002551/0.3185, allocations: 67.91 kB / 473.9 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.3202, allocations: 1.867 MB / 475.8 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.3203, allocations: 16 kB / 475.8 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/0.3204, allocations: 12 kB / 475.8 MB, free: 9.238 MB / 382.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.0001741/0.3205, allocations: 161.6 kB / 476 MB, free: 9.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.703e-05/0.3206, allocations: 27.86 kB / 476 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007536/0.3214, allocations: 494.3 kB / 476.5 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.3214, allocations: 3.984 kB / 476.5 MB, free: 8.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3214, allocations: 4 kB / 476.5 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007239/0.3221, allocations: 0.7439 MB / 477.3 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.3234, allocations: 0.8711 MB / 478.1 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.3234, allocations: 4 kB / 478.1 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.3236, allocations: 43.91 kB / 478.2 MB, free: 6.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001694/0.3253, allocations: 320.5 kB / 478.5 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.3253, allocations: 11.98 kB / 478.5 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005588/0.3259, allocations: 0.6499 MB / 479.1 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3259, allocations: 0 / 479.1 MB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009688/0.3268, allocations: 0.7406 MB / 479.9 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.3269, allocations: 35.73 kB / 479.9 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.3269, allocations: 4 kB / 479.9 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.3271, allocations: 4 kB / 479.9 MB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.3271, allocations: 19.97 kB / 480 MB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.3272, allocations: 12.11 kB / 480 MB, free: 4.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.3274, allocations: 185.2 kB / 480.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3274, allocations: 0 / 480.1 MB, free: 4.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006258/0.328, allocations: 183.7 kB / 480.3 MB, free: 4.523 MB / 382.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.001797/0.3298, allocations: 1.452 MB / 481.8 MB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008162/0.3306, allocations: 443.2 kB / 482.2 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3306, allocations: 0 / 482.2 MB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005351/0.3311, allocations: 239.4 kB / 482.4 MB, free: 2.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009131/0.332, allocations: 176.2 kB / 482.6 MB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004251/0.3363, allocations: 3.315 MB / 485.9 MB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.3365, allocations: 168.2 kB / 486.1 MB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000191/0.3367, allocations: 46.94 kB / 486.1 MB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.3368, allocations: 103.4 kB / 486.2 MB, free: 14.37 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3368, allocations: 0 / 486.2 MB, free: 14.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03976/0.3766, allocations: 14.2 MB / 0.4887 GB, free: 448 kB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.79/13.16, allocations: 12 kB / 0.4887 GB, free: 436 kB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 17.900531147955917]