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) 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 4.0.0+maint.om/package.mo", uses=false) 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_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.0008427/0.0008427, allocations: 86.44 kB / 16.65 MB, free: 6.535 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.0009068/0.0009068, allocations: 176.3 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002211/0.0002211, allocations: 14.09 kB / 301.5 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07594/0.07618, allocations: 50.41 MB / 351.9 MB, free: 3.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1629/0.2391, allocations: 26.6 MB / 378.5 MB, free: 8.598 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003365/0.2425, allocations: 4.146 MB / 382.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.2427, allocations: 2.656 kB / 382.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004846/0.2432, allocations: 180.3 kB / 382.9 MB, free: 8.512 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005135/0.2437, allocations: 333.8 kB / 383.2 MB, free: 8.469 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.2466, allocations: 1.228 MB / 384.4 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001191/0.2478, allocations: 1.343 MB / 385.8 MB, free: 8.066 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.248, allocations: 68.94 kB / 385.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00588/0.2539, allocations: 4.217 MB / 390 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003151/0.2542, allocations: 281 kB / 390.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.2542, allocations: 14.62 kB / 390.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.2554, allocations: 0.7042 MB / 391 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.921e-05/0.2555, allocations: 74.84 kB / 391.1 MB, free: 7.34 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.2556, allocations: 202.9 kB / 391.3 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008098/0.2565, allocations: 0.8167 MB / 392.1 MB, free: 7.184 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2565, allocations: 4.969 kB / 392.1 MB, free: 7.184 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2565, allocations: 0 / 392.1 MB, free: 7.184 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.2565, allocations: 0 / 392.1 MB, free: 7.184 MB / 302.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.0006344/0.2571, allocations: 0.5833 MB / 392.7 MB, free: 6.711 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2572, allocations: 13.25 kB / 392.7 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.397e-05/0.2572, allocations: 63.3 kB / 392.8 MB, free: 6.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003888/0.2576, allocations: 55.64 kB / 392.8 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.2579, allocations: 288.5 kB / 393.1 MB, free: 6.406 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.2579, allocations: 24.67 kB / 393.1 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.2579, allocations: 29.88 kB / 393.2 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003952/0.2583, allocations: 339.5 kB / 393.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2584, allocations: 0.9062 kB / 393.5 MB, free: 6.234 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.2584, allocations: 14.91 kB / 393.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.2584, allocations: 7.312 kB / 393.5 MB, free: 6.23 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002879/0.2587, allocations: 209 kB / 393.7 MB, free: 6.191 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01027/0.269, allocations: 5.91 MB / 399.6 MB, free: 1.613 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002524/0.2692, allocations: 183.6 kB / 399.8 MB, free: 1.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.2694, allocations: 92.81 kB / 399.9 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009017/0.2784, allocations: 3.87 MB / 403.8 MB, free: 14.76 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2784, allocations: 34.56 kB / 403.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/0.2785, allocations: 7.25 kB / 403.8 MB, free: 14.71 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.005741/0.2842, allocations: 1.415 MB / 405.2 MB, free: 13.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.2842, allocations: 54.38 kB / 405.3 MB, free: 13.78 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.2845, allocations: 264.9 kB / 405.6 MB, free: 13.6 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.2845, allocations: 32.45 kB / 405.6 MB, free: 13.56 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.2846, allocations: 181.6 kB / 405.8 MB, free: 13.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.236e-05/0.2847, allocations: 96.92 kB / 405.9 MB, free: 13.31 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.2848, allocations: 36.08 kB / 405.9 MB, free: 13.28 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2849, allocations: 336.3 kB / 406.2 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.2851, allocations: 91.28 kB / 406.3 MB, free: 12.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/0.2853, allocations: 192 kB / 406.5 MB, free: 12.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004146/0.2857, allocations: 306.5 kB / 406.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2857, allocations: 0 / 406.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006459/0.2864, allocations: 399 kB / 407.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.2864, allocations: 12 kB / 407.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.2864, allocations: 4 kB / 407.2 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003229/0.2896, allocations: 401.3 kB / 407.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.2899, allocations: 67.91 kB / 407.7 MB, free: 11.58 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.2914, allocations: 1.883 MB / 409.5 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/0.2916, allocations: 27.83 kB / 409.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.2917, allocations: 16 kB / 409.6 MB, free: 9.5 MB / 318.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.0001581/0.2918, allocations: 149.8 kB / 409.7 MB, free: 9.344 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.175e-05/0.2919, allocations: 27.72 kB / 409.8 MB, free: 9.316 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006752/0.2926, allocations: 495.6 kB / 410.2 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.2926, allocations: 8 kB / 410.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.2926, allocations: 4 kB / 410.3 MB, free: 8.812 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006857/0.2933, allocations: 0.7163 MB / 411 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.2945, allocations: 0.9489 MB / 411.9 MB, free: 7 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2945, allocations: 0 / 411.9 MB, free: 7 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.2947, allocations: 39.97 kB / 412 MB, free: 6.961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00168/0.2964, allocations: 332.4 kB / 412.3 MB, free: 6.633 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.2964, allocations: 8 kB / 412.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004424/0.2969, allocations: 0.6421 MB / 412.9 MB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2969, allocations: 4.062 kB / 412.9 MB, free: 5.953 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008869/0.2978, allocations: 0.7283 MB / 413.7 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.654e-05/0.2979, allocations: 108.7 kB / 413.8 MB, free: 5.074 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.057e-05/0.2979, allocations: 15.86 kB / 413.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.2981, allocations: 12.06 kB / 413.8 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.784e-05/0.2982, allocations: 23.91 kB / 413.8 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.2982, allocations: 15.94 kB / 413.8 MB, free: 5.008 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.2984, allocations: 186 kB / 414 MB, free: 4.824 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2984, allocations: 4 kB / 414 MB, free: 4.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006404/0.299, allocations: 183.9 kB / 414.2 MB, free: 4.641 MB / 318.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.00168/0.3007, allocations: 1.416 MB / 415.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006955/0.3014, allocations: 447.8 kB / 416.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3014, allocations: 4 kB / 416.1 MB, free: 2.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.3019, allocations: 223.8 kB / 416.3 MB, free: 2.539 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009696/0.3029, allocations: 176.3 kB / 416.5 MB, free: 2.371 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.3071, allocations: 3.52 MB / 420 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003649/0.3074, allocations: 0.7798 MB / 420.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.3077, allocations: 50.92 kB / 420.8 MB, free: 13.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.3078, allocations: 103.4 kB / 420.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3078, allocations: 4 kB / 420.9 MB, free: 13.72 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.3336, allocations: 12.74 MB / 433.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/0.3338, allocations: 232.1 kB / 433.9 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.093/2.427, allocations: 0 / 433.9 MB, free: 0.9102 MB / 334.1 MB (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 --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) 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) Reference file matches