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.001584/0.001584, allocations: 108.5 kB / 17.73 MB, free: 5.359 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.001816/0.001816, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.23/1.23, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001051/0.001051, allocations: 59.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07409/0.07515, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.172/0.2472, allocations: 27.04 MB / 401.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004765/0.252, allocations: 4.166 MB / 405.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002287/0.2522, allocations: 4.25 kB / 405.9 MB, free: 9.16 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006542/0.2529, allocations: 203 kB / 406.1 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006954/0.2536, allocations: 339.1 kB / 406.4 MB, free: 8.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004678/0.2583, allocations: 1.478 MB / 407.9 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.2595, allocations: 0.8835 MB / 408.8 MB, free: 7.664 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.2597, allocations: 109 kB / 408.9 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006061/0.2658, allocations: 4.054 MB / 412.9 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003781/0.2662, allocations: 279.2 kB / 413.2 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.2663, allocations: 31.56 kB / 413.2 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.268, allocations: 0.7255 MB / 414 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.2682, allocations: 92.5 kB / 414 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002572/0.2685, allocations: 194.9 kB / 414.2 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001432/0.2699, allocations: 0.8509 MB / 415.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2699, allocations: 0 / 415.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2699, allocations: 4.969 kB / 415.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.2699, allocations: 0 / 415.1 MB, free: 4.738 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.001051/0.271, allocations: 0.6477 MB / 415.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.2711, allocations: 10.91 kB / 415.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.802e-05/0.2711, allocations: 63.89 kB / 415.8 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004615/0.2716, allocations: 53.09 kB / 415.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/0.2721, allocations: 289.7 kB / 416.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.2721, allocations: 20.94 kB / 416.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.2722, allocations: 29.03 kB / 416.2 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005027/0.2727, allocations: 342.4 kB / 416.5 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.2727, allocations: 5.156 kB / 416.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.2728, allocations: 12.25 kB / 416.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.2728, allocations: 6.594 kB / 416.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003429/0.2731, allocations: 211.6 kB / 416.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01268/0.2858, allocations: 5.908 MB / 422.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002797/0.2861, allocations: 182.6 kB / 422.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001335/0.2863, allocations: 88.83 kB / 422.9 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.2967, allocations: 3.881 MB / 426.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.2967, allocations: 43.44 kB / 426.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.104e-06/0.2968, allocations: 0 / 426.9 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006247/0.303, allocations: 1.412 MB / 428.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.3031, allocations: 55.41 kB / 428.3 MB, free: 9.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.3033, allocations: 254.6 kB / 428.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3034, allocations: 33.64 kB / 428.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.3035, allocations: 188 kB / 428.8 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/0.3036, allocations: 94.64 kB / 428.9 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-05/0.3037, allocations: 69.69 kB / 428.9 MB, free: 8.648 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3038, allocations: 338.8 kB / 429.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.304, allocations: 99.69 kB / 429.4 MB, free: 8.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.3042, allocations: 186.9 kB / 429.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/0.3046, allocations: 299 kB / 429.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3046, allocations: 0 / 429.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006499/0.3052, allocations: 402.6 kB / 430.2 MB, free: 7.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.3053, allocations: 4 kB / 430.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3053, allocations: 4 kB / 430.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004121/0.3094, allocations: 0.9342 MB / 431.2 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.3097, allocations: 67.91 kB / 431.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.3112, allocations: 1.983 MB / 433.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000214/0.3114, allocations: 12.03 kB / 433.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.3114, allocations: 13 kB / 433.3 MB, free: 4.066 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.0001552/0.3116, allocations: 157.8 kB / 433.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.261e-05/0.3117, allocations: 31.56 kB / 433.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006731/0.3123, allocations: 498.7 kB / 433.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.3124, allocations: 3.984 kB / 433.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.3124, allocations: 4 kB / 433.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006023/0.313, allocations: 0.7127 MB / 434.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.3142, allocations: 0.9418 MB / 435.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.3142, allocations: 3.984 kB / 435.6 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.3144, allocations: 52.83 kB / 435.6 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.3161, allocations: 312.2 kB / 435.9 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.3161, allocations: 11.98 kB / 436 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004681/0.3166, allocations: 0.6499 MB / 436.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3166, allocations: 0 / 436.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.3175, allocations: 0.7106 MB / 437.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.753e-05/0.3176, allocations: 108.7 kB / 437.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.3176, allocations: 12 kB / 437.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.3178, allocations: 12.12 kB / 437.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.3178, allocations: 19.92 kB / 437.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.3179, allocations: 7.984 kB / 437.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.318, allocations: 190 kB / 437.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.318, allocations: 0 / 437.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006654/0.3187, allocations: 179.9 kB / 437.8 MB, free: 15.24 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.001631/0.3204, allocations: 1.425 MB / 439.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007527/0.3211, allocations: 459.3 kB / 439.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3211, allocations: 7.938 kB / 439.7 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.3216, allocations: 231.8 kB / 439.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/0.3226, allocations: 171.3 kB / 440.1 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003932/0.3265, allocations: 3.323 MB / 443.4 MB, free: 9.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3269, allocations: 0.7763 MB / 444.2 MB, free: 8.625 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000207/0.3271, allocations: 50.94 kB / 444.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.3272, allocations: 107.4 kB / 444.4 MB, free: 8.465 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3272, allocations: 0 / 444.4 MB, free: 8.465 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03587/0.3631, allocations: 13.57 MB / 457.9 MB, free: 10.83 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.75, allocations: 11.92 kB / 457.9 MB, free: 10.82 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