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.005042/0.005042, allocations: 114.1 kB / 21.97 MB, free: 5.227 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.001418/0.001418, allocations: 211.2 kB / 25.28 MB, free: 3.242 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.281/1.281, allocations: 207.6 MB / 236.1 MB, free: 9.98 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.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",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.001854/0.001854, allocations: 55.94 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2275/0.2293, allocations: 49.16 MB / 397.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02673/0.256, allocations: 27.36 MB / 424.5 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005323/0.2614, allocations: 4.205 MB / 428.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003141/0.2617, allocations: 12.16 kB / 428.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007091/0.2624, allocations: 207.4 kB / 428.9 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007669/0.2631, allocations: 341.1 kB / 429.3 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004087/0.2672, allocations: 1.481 MB / 430.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.2685, allocations: 0.9008 MB / 431.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.2687, allocations: 78.59 kB / 431.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006496/0.2752, allocations: 4.138 MB / 435.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.2756, allocations: 294.9 kB / 436.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.135e-05/0.2757, allocations: 32 kB / 436.2 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.2771, allocations: 0.7337 MB / 436.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.2772, allocations: 91.72 kB / 437 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.2775, allocations: 199.2 kB / 437.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.2787, allocations: 0.8531 MB / 438 MB, free: 10.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.2787, allocations: 4 kB / 438.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2787, allocations: 0 / 438.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.2787, allocations: 0 / 438.1 MB, free: 10.29 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.0009452/0.2796, allocations: 0.5867 MB / 438.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2797, allocations: 15.98 kB / 438.7 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.676e-05/0.2797, allocations: 4.844 kB / 438.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.736e-05/0.2798, allocations: 66.72 kB / 438.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004231/0.2802, allocations: 56.73 kB / 438.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.2806, allocations: 222 kB / 439 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.2806, allocations: 21.03 kB / 439 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.503e-05/0.2807, allocations: 32.12 kB / 439 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005144/0.2812, allocations: 335.6 kB / 439.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.2812, allocations: 4 kB / 439.4 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.2812, allocations: 16 kB / 439.4 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2812, allocations: 7.938 kB / 439.4 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.2816, allocations: 209.8 kB / 439.6 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.2938, allocations: 4.664 MB / 444.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000328/0.2941, allocations: 174.6 kB / 444.4 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001372/0.2943, allocations: 76.84 kB / 444.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009964/0.3042, allocations: 2.684 MB / 447.2 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.728e-05/0.3043, allocations: 30.56 kB / 447.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.124e-06/0.3043, allocations: 0 / 447.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006256/0.3105, allocations: 1.275 MB / 448.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.3106, allocations: 51.41 kB / 448.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.3109, allocations: 261.9 kB / 448.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.3109, allocations: 33.7 kB / 448.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3111, allocations: 192.4 kB / 449 MB, free: 14.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.148e-05/0.3112, allocations: 99.2 kB / 449.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3113, allocations: 65.66 kB / 449.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3114, allocations: 334.8 kB / 449.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00016/0.3116, allocations: 95.75 kB / 449.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.3118, allocations: 190.9 kB / 449.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004446/0.3122, allocations: 299 kB / 450.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3122, allocations: 3.938 kB / 450.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007215/0.313, allocations: 403.2 kB / 450.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.313, allocations: 4 kB / 450.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.258e-06/0.313, allocations: 4 kB / 450.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004016/0.317, allocations: 0.9339 MB / 451.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.3173, allocations: 75.84 kB / 451.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001726/0.319, allocations: 1.867 MB / 453.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.3192, allocations: 8.156 kB / 453.4 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.9e-05/0.3193, allocations: 20 kB / 453.4 MB, free: 10.29 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.0001855/0.3194, allocations: 149.7 kB / 453.5 MB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.192e-05/0.3195, allocations: 27.81 kB / 453.6 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000767/0.3203, allocations: 0.4948 MB / 454.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.3203, allocations: 11.98 kB / 454.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.3203, allocations: 0 / 454.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007177/0.321, allocations: 0.7208 MB / 454.8 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.3224, allocations: 0.9331 MB / 455.7 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3224, allocations: 3.938 kB / 455.7 MB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.3226, allocations: 51.91 kB / 455.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/0.3242, allocations: 316.4 kB / 456.1 MB, free: 7.418 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.965e-05/0.3243, allocations: 8.047 kB / 456.1 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005836/0.3248, allocations: 0.6577 MB / 456.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3248, allocations: 0 / 456.8 MB, free: 6.727 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3259, allocations: 0.7332 MB / 457.5 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.446e-05/0.3259, allocations: 27.84 kB / 457.5 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.326, allocations: 4 kB / 457.5 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.3262, allocations: 8 kB / 457.5 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.3262, allocations: 19.95 kB / 457.6 MB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.3262, allocations: 8 kB / 457.6 MB, free: 5.902 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001977/0.3264, allocations: 193.3 kB / 457.8 MB, free: 5.719 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3264, allocations: 0 / 457.8 MB, free: 5.719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006619/0.3271, allocations: 191.6 kB / 457.9 MB, free: 5.531 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.001861/0.329, allocations: 1.438 MB / 459.4 MB, free: 4.059 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008401/0.3298, allocations: 450.5 kB / 459.8 MB, free: 3.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3298, allocations: 0.75 kB / 459.8 MB, free: 3.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005332/0.3303, allocations: 235.6 kB / 460 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009593/0.3313, allocations: 172.2 kB / 460.2 MB, free: 3.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004533/0.3358, allocations: 3.32 MB / 463.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.3362, allocations: 0.7838 MB / 464.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002097/0.3365, allocations: 50.94 kB / 464.4 MB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.3366, allocations: 95.41 kB / 464.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3366, allocations: 4 kB / 464.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04023/0.3768, allocations: 13.88 MB / 478.3 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.88, allocations: 15.94 kB / 478.4 MB, free: 0.7891 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 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.mat","/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: 17.53839512297418]