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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 106.6 kB / 17.72 MB, free: 5.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 194.9 kB / 18.67 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.304/1.304, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08023/0.08184, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1667/0.2486, allocations: 27.05 MB / 401.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005078/0.2537, allocations: 4.16 MB / 405.9 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.2539, allocations: 2.719 kB / 405.9 MB, free: 8.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006307/0.2546, allocations: 211 kB / 406.1 MB, free: 8.871 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006248/0.2553, allocations: 344.9 kB / 406.4 MB, free: 8.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004187/0.2595, allocations: 1.477 MB / 407.9 MB, free: 7.902 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00107/0.2605, allocations: 0.8809 MB / 408.8 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001926/0.2607, allocations: 104 kB / 408.9 MB, free: 7.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005845/0.2666, allocations: 4.048 MB / 412.9 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.267, allocations: 276.7 kB / 413.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.239e-05/0.267, allocations: 31.22 kB / 413.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001501/0.2685, allocations: 0.7283 MB / 414 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.2687, allocations: 88.66 kB / 414 MB, free: 5.258 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002175/0.2689, allocations: 198.4 kB / 414.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.2701, allocations: 0.8511 MB / 415.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2701, allocations: 0 / 415.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2701, allocations: 1.406 kB / 415.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.2701, allocations: 4 kB / 415.1 MB, free: 4.586 MB / 334.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.0009121/0.271, allocations: 0.6584 MB / 415.7 MB, free: 4.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2711, allocations: 9.094 kB / 415.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.452e-05/0.2711, allocations: 60.64 kB / 415.8 MB, free: 3.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000424/0.2716, allocations: 57.25 kB / 415.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.272, allocations: 298.6 kB / 416.2 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.272, allocations: 23.53 kB / 416.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.178e-05/0.2721, allocations: 27.48 kB / 416.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004956/0.2726, allocations: 338 kB / 416.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.2726, allocations: 0 / 416.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.2726, allocations: 16.61 kB / 416.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2727, allocations: 6.344 kB / 416.6 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.273, allocations: 216.8 kB / 416.8 MB, free: 3.246 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/0.2853, allocations: 5.909 MB / 422.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.2857, allocations: 181.2 kB / 422.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.2858, allocations: 90.2 kB / 423 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.2961, allocations: 3.891 MB / 426.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.2962, allocations: 34.56 kB / 426.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.764e-06/0.2962, allocations: 0 / 426.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006029/0.3022, allocations: 1.421 MB / 428.3 MB, free: 9.199 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3023, allocations: 51.41 kB / 428.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.3026, allocations: 266.5 kB / 428.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.3026, allocations: 33.7 kB / 428.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3028, allocations: 184.4 kB / 428.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.532e-05/0.3029, allocations: 99.2 kB / 428.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.303, allocations: 73.64 kB / 429 MB, free: 8.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3031, allocations: 334.8 kB / 429.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.3033, allocations: 95.75 kB / 429.4 MB, free: 8.031 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.3035, allocations: 186.9 kB / 429.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004258/0.304, allocations: 303 kB / 429.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.304, allocations: 0 / 429.9 MB, free: 7.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006894/0.3047, allocations: 406.8 kB / 430.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.3047, allocations: 4 kB / 430.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3047, allocations: 4 kB / 430.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003817/0.3085, allocations: 0.9303 MB / 431.2 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002546/0.3088, allocations: 75.83 kB / 431.3 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.3105, allocations: 1.975 MB / 433.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.3107, allocations: 9 kB / 433.3 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.3107, allocations: 16 kB / 433.3 MB, free: 3.883 MB / 350.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.0001686/0.3109, allocations: 153.7 kB / 433.4 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.498e-05/0.311, allocations: 31.8 kB / 433.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007637/0.3118, allocations: 0.4949 MB / 434 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3118, allocations: 4 kB / 434 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.3118, allocations: 0 / 434 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007349/0.3125, allocations: 0.7166 MB / 434.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.3138, allocations: 0.9457 MB / 435.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.3138, allocations: 0 / 435.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.314, allocations: 44.8 kB / 435.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/0.3157, allocations: 324.3 kB / 436 MB, free: 1.004 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.3157, allocations: 8 kB / 436 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005234/0.3163, allocations: 0.6421 MB / 436.6 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.3163, allocations: 8.094 kB / 436.7 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009542/0.3172, allocations: 0.7145 MB / 437.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.675e-05/0.3173, allocations: 108.9 kB / 437.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.064e-05/0.3174, allocations: 8 kB / 437.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.3176, allocations: 4 kB / 437.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.3176, allocations: 24.03 kB / 437.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.3176, allocations: 8 kB / 437.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00019/0.3178, allocations: 186 kB / 437.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3178, allocations: 0 / 437.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006782/0.3185, allocations: 191.7 kB / 437.9 MB, free: 15.05 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.001761/0.3203, allocations: 1.432 MB / 439.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007961/0.3211, allocations: 459.3 kB / 439.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3211, allocations: 0 / 439.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005208/0.3216, allocations: 227.8 kB / 440 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009336/0.3226, allocations: 175.2 kB / 440.2 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004175/0.3268, allocations: 3.338 MB / 443.5 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.3272, allocations: 0.7763 MB / 444.3 MB, free: 8.418 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001978/0.3274, allocations: 50.94 kB / 444.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.3275, allocations: 103.4 kB / 444.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3275, allocations: 0 / 444.4 MB, free: 8.262 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04095/0.3685, allocations: 13.43 MB / 457.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.04, allocations: 7.844 kB / 457.9 MB, free: 10.76 MB / 382.1 MB (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 --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) 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) Reference file matches