Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001222/0.001222, allocations: 109.6 kB / 17.33 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001327/0.001327, allocations: 209.8 kB / 18.27 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.292/1.292, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 67.75 kB / 306.6 MB, free: 0.8359 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08173/0.08291, allocations: 50.53 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1707/0.2536, allocations: 27.02 MB / 384.1 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003839/0.2575, allocations: 4.136 MB / 388.2 MB, free: 3.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.2578, allocations: 2.406 kB / 388.2 MB, free: 3.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005931/0.2584, allocations: 184.8 kB / 388.4 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.259, allocations: 324.4 kB / 388.7 MB, free: 3.684 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.2626, allocations: 1.296 MB / 390 MB, free: 3.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001059/0.2636, allocations: 0.8933 MB / 390.9 MB, free: 2.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.2639, allocations: 105 kB / 391 MB, free: 2.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007611/0.2715, allocations: 4.335 MB / 395.4 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003769/0.2719, allocations: 289.3 kB / 395.6 MB, free: 1.215 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.272, allocations: 30.94 kB / 395.7 MB, free: 1.215 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001463/0.2734, allocations: 0.736 MB / 396.4 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.565e-05/0.2735, allocations: 97.12 kB / 396.5 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.2737, allocations: 194.1 kB / 396.7 MB, free: 0.7852 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008784/0.2746, allocations: 0.8454 MB / 397.5 MB, free: 240 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.2746, allocations: 1.188 kB / 397.5 MB, free: 240 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2746, allocations: 0 / 397.5 MB, free: 240 kB / 302.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.2746, allocations: 0 / 397.5 MB, free: 240 kB / 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.0008485/0.2755, allocations: 0.6476 MB / 398.2 MB, free: 15.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2755, allocations: 9.625 kB / 398.2 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.669e-05/0.2756, allocations: 64.3 kB / 398.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004208/0.276, allocations: 61.53 kB / 398.3 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.2764, allocations: 287.5 kB / 398.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.2764, allocations: 24.06 kB / 398.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.2765, allocations: 25.06 kB / 398.7 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004742/0.2769, allocations: 345.9 kB / 399 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.277, allocations: 1.375 kB / 399 MB, free: 15.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/0.277, allocations: 16.06 kB / 399 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.277, allocations: 6.875 kB / 399 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003038/0.2773, allocations: 212.8 kB / 399.2 MB, free: 14.9 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01291/0.2902, allocations: 5.908 MB / 405.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.2906, allocations: 181.7 kB / 405.3 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001309/0.2907, allocations: 87.77 kB / 405.4 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01037/0.3011, allocations: 3.882 MB / 409.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.3011, allocations: 34.55 kB / 409.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.365e-06/0.3012, allocations: 0 / 409.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006237/0.3074, allocations: 1.418 MB / 410.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.3074, allocations: 55.41 kB / 410.8 MB, free: 5.383 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002668/0.3077, allocations: 266.5 kB / 411 MB, free: 5.117 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.3078, allocations: 33.7 kB / 411.1 MB, free: 5.078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.3079, allocations: 192 kB / 411.3 MB, free: 4.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.425e-05/0.3079, allocations: 86.75 kB / 411.3 MB, free: 4.801 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.309e-05/0.308, allocations: 65.61 kB / 411.4 MB, free: 4.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.3082, allocations: 334.8 kB / 411.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.3083, allocations: 91.95 kB / 411.8 MB, free: 4.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.3085, allocations: 194.6 kB / 412 MB, free: 4.074 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.3089, allocations: 311.5 kB / 412.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3089, allocations: 0 / 412.3 MB, free: 3.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006474/0.3096, allocations: 391 kB / 412.7 MB, free: 3.336 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3096, allocations: 8 kB / 412.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.3096, allocations: 0 / 412.7 MB, free: 3.328 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004065/0.3137, allocations: 0.9394 MB / 413.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.3139, allocations: 67.91 kB / 413.7 MB, free: 2.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001437/0.3154, allocations: 1.982 MB / 415.7 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.3157, allocations: 19.94 kB / 415.7 MB, free: 164 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.3157, allocations: 20.81 kB / 415.7 MB, free: 144 kB / 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.0001647/0.3159, allocations: 161.8 kB / 415.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.3159, allocations: 31.56 kB / 415.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006782/0.3166, allocations: 497.8 kB / 416.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.3166, allocations: 4 kB / 416.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.3167, allocations: 3.938 kB / 416.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005973/0.3173, allocations: 0.716 MB / 417.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.3185, allocations: 0.9342 MB / 418.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3185, allocations: 0 / 418.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.3187, allocations: 45.42 kB / 418.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00179/0.3205, allocations: 324.3 kB / 418.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.609e-05/0.3205, allocations: 8 kB / 418.4 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004518/0.321, allocations: 0.6422 MB / 419.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.321, allocations: 7.969 kB / 419.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008748/0.3219, allocations: 0.7286 MB / 419.8 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.969e-05/0.322, allocations: 104.7 kB / 419.9 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.322, allocations: 4 kB / 419.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.3223, allocations: 20.05 kB / 419.9 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.856e-05/0.3223, allocations: 11.98 kB / 420 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-05/0.3223, allocations: 15.98 kB / 420 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.3225, allocations: 186 kB / 420.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.674e-06/0.3225, allocations: 0 / 420.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007132/0.3233, allocations: 187.9 kB / 420.3 MB, free: 11.29 MB / 334.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.001668/0.3249, allocations: 1.435 MB / 421.8 MB, free: 9.828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008067/0.3257, allocations: 475.5 kB / 422.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3258, allocations: 0 / 422.2 MB, free: 9.352 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000506/0.3263, allocations: 239.7 kB / 422.5 MB, free: 9.117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009251/0.3272, allocations: 167.5 kB / 422.6 MB, free: 8.957 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004028/0.3313, allocations: 3.455 MB / 426.1 MB, free: 5.332 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003029/0.3316, allocations: 0.7837 MB / 426.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002213/0.3318, allocations: 38.97 kB / 426.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.3319, allocations: 103.4 kB / 427 MB, free: 4.387 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3319, allocations: 0 / 427 MB, free: 4.387 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.3614, allocations: 13.17 MB / 440.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/0.3617, allocations: 224.2 kB / 440.4 MB, free: 7.113 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/3.035, allocations: 7.938 kB / 440.4 MB, free: 7.105 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches