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.001322/0.001322, allocations: 110.4 kB / 18.48 MB, free: 4.562 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.001351/0.001351, allocations: 193 kB / 21.43 MB, free: 1.629 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.364/1.364, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.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.001403/0.001403, allocations: 51.92 kB / 366.4 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08696/0.08836, allocations: 52.14 MB / 418.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02753/0.1159, allocations: 27.17 MB / 445.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.1844/0.3003, allocations: 4.155 MB / 449.8 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.3005, allocations: 11.47 kB / 449.8 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005538/0.301, allocations: 216.8 kB / 450 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005307/0.3016, allocations: 335 kB / 450.4 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003173/0.3048, allocations: 1.478 MB / 451.8 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007787/0.3055, allocations: 0.8871 MB / 452.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.3057, allocations: 77.41 kB / 452.8 MB, free: 6.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005447/0.3111, allocations: 4.081 MB / 456.9 MB, free: 6.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.3115, allocations: 293 kB / 457.2 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.3115, allocations: 31.41 kB / 457.2 MB, free: 6.586 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001266/0.3128, allocations: 0.7349 MB / 457.9 MB, free: 6.574 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.3129, allocations: 96.36 kB / 458 MB, free: 6.562 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.3131, allocations: 202 kB / 458.2 MB, free: 6.516 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.3141, allocations: 0.843 MB / 459.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3141, allocations: 0 / 459.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3141, allocations: 0.7031 kB / 459.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.3141, allocations: 0 / 459.1 MB, free: 6.438 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.0008183/0.315, allocations: 0.662 MB / 459.7 MB, free: 5.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.315, allocations: 10.03 kB / 459.7 MB, free: 5.949 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.793e-05/0.315, allocations: 8.797 kB / 459.8 MB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.42e-05/0.3151, allocations: 66.06 kB / 459.8 MB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004109/0.3155, allocations: 59.38 kB / 459.9 MB, free: 5.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.3158, allocations: 288.1 kB / 460.2 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.3158, allocations: 20.19 kB / 460.2 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.357e-05/0.3159, allocations: 32.28 kB / 460.2 MB, free: 5.664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004493/0.3163, allocations: 339 kB / 460.5 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.3164, allocations: 2.078 kB / 460.5 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.3164, allocations: 10.78 kB / 460.5 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.3164, allocations: 7.125 kB / 460.6 MB, free: 5.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003087/0.3167, allocations: 217.6 kB / 460.8 MB, free: 5.539 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.328, allocations: 5.906 MB / 466.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.3283, allocations: 175.9 kB / 466.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001132/0.3284, allocations: 80.67 kB / 466.9 MB, free: 2.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009305/0.3377, allocations: 3.887 MB / 470.8 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.3378, allocations: 39.67 kB / 470.9 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 2.194e-06/0.3378, allocations: 0 / 470.9 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.005867/0.3436, allocations: 1.414 MB / 472.3 MB, free: 48 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.3437, allocations: 54.41 kB / 472.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.344, allocations: 265.3 kB / 472.6 MB, free: 15.87 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.344, allocations: 34.73 kB / 472.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.3441, allocations: 184.4 kB / 472.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.1e-05/0.3442, allocations: 103.4 kB / 472.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.3443, allocations: 73.16 kB / 473 MB, free: 15.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.3444, allocations: 332.8 kB / 473.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3446, allocations: 94.8 kB / 473.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.3448, allocations: 188.3 kB / 473.6 MB, free: 15.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.3452, allocations: 309.8 kB / 473.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3452, allocations: 1.156 kB / 473.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000631/0.3458, allocations: 390.3 kB / 474.2 MB, free: 15.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3458, allocations: 7.344 kB / 474.3 MB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3458, allocations: 6.625 kB / 474.3 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003952/0.3498, allocations: 0.9346 MB / 475.2 MB, free: 14.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.3501, allocations: 69.34 kB / 475.3 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/0.3517, allocations: 1.974 MB / 477.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.3519, allocations: 11.06 kB / 477.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.3519, allocations: 14.28 kB / 477.3 MB, free: 12.75 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.0001789/0.3521, allocations: 166.5 kB / 477.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.504e-05/0.3522, allocations: 33.92 kB / 477.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006801/0.3529, allocations: 488.1 kB / 477.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.3529, allocations: 7.672 kB / 477.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-06/0.3529, allocations: 0 / 477.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000661/0.3535, allocations: 0.7206 MB / 478.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.3547, allocations: 0.942 MB / 479.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.3548, allocations: 4.656 kB / 479.6 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.3549, allocations: 46.03 kB / 479.7 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/0.3566, allocations: 314.9 kB / 480 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.316e-05/0.3566, allocations: 10.14 kB / 480 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005016/0.3571, allocations: 0.6451 MB / 480.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3571, allocations: 6.25 kB / 480.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008665/0.358, allocations: 0.7332 MB / 481.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-05/0.3581, allocations: 105.1 kB / 481.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.986e-05/0.3581, allocations: 7.188 kB / 481.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.3583, allocations: 5.344 kB / 481.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.405e-05/0.3583, allocations: 15.33 kB / 481.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.3584, allocations: 14.05 kB / 481.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.3585, allocations: 185.4 kB / 481.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3585, allocations: 0 / 481.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008409/0.3594, allocations: 194.8 kB / 481.9 MB, free: 10.38 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.001707/0.3611, allocations: 1.418 MB / 483.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007679/0.3619, allocations: 448.4 kB / 483.7 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3619, allocations: 3.094 kB / 483.7 MB, free: 9.125 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004881/0.3623, allocations: 233.6 kB / 484 MB, free: 9.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009055/0.3633, allocations: 170.2 kB / 484.1 MB, free: 8.926 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.3672, allocations: 3.334 MB / 487.5 MB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.3676, allocations: 0.7755 MB / 488.2 MB, free: 5.715 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001772/0.3677, allocations: 45.41 kB / 488.3 MB, free: 5.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3679, allocations: 106.7 kB / 488.4 MB, free: 5.609 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.3679, allocations: 0 / 488.4 MB, free: 5.609 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.4047, allocations: 13.52 MB / 0.4901 GB, free: 10.58 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.9/12.3, allocations: 22.95 kB / 0.4902 GB, free: 10.56 MB / 398.1 MB " [Timeout remaining time 648] (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.09664293396054]