Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",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.001333/0.001333, allocations: 114.4 kB / 17.28 MB, free: 6.199 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.001517/0.001517, allocations: 189.3 kB / 18.2 MB, free: 5.277 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.234/1.234, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001168/0.001168, allocations: 47.92 kB / 280.2 MB, free: 3.387 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07239/0.07357, allocations: 46.62 MB / 326.9 MB, free: 4.699 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03093/0.1046, allocations: 37.31 MB / 364.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004636/0.1092, allocations: 4.565 MB / 368.7 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000248/0.1095, allocations: 4 kB / 368.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007034/0.1103, allocations: 254.7 kB / 369 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006985/0.111, allocations: 457.7 kB / 369.4 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.1145, allocations: 1.468 MB / 370.9 MB, free: 8.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.1157, allocations: 1.273 MB / 372.2 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.116, allocations: 166.5 kB / 372.3 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004727/0.1164, allocations: 470.5 kB / 372.8 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.1168, allocations: 426.3 kB / 373.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.114e-05/0.1169, allocations: 44 kB / 373.3 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.1181, allocations: 0.7648 MB / 374 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.1183, allocations: 143.5 kB / 374.2 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.1185, allocations: 271 kB / 374.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.1196, allocations: 1.052 MB / 375.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.1196, allocations: 0 / 375.5 MB, free: 3.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1196, allocations: 7.938 kB / 375.5 MB, free: 3.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1196, allocations: 0 / 375.5 MB, free: 3.898 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009627/0.1206, allocations: 0.7681 MB / 376.3 MB, free: 3.082 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.1206, allocations: 15.89 kB / 376.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.016e-05/0.1207, allocations: 74.72 kB / 376.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005417/0.1212, allocations: 84.34 kB / 376.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.1216, allocations: 347.3 kB / 376.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.1216, allocations: 29.38 kB / 376.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.262e-05/0.1217, allocations: 36.38 kB / 376.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/0.1223, allocations: 475.4 kB / 377.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1223, allocations: 0 / 377.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.1224, allocations: 23.94 kB / 377.3 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.1224, allocations: 11.98 kB / 377.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.1228, allocations: 307.7 kB / 377.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1318/0.2547, allocations: 6.726 MB / 384.4 MB, free: 55.12 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.2551, allocations: 267.9 kB / 384.6 MB, free: 55.1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.2553, allocations: 148.4 kB / 384.8 MB, free: 55.09 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009995/0.2653, allocations: 3.892 MB / 388.7 MB, free: 53.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.2654, allocations: 37 kB / 388.7 MB, free: 53.17 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.853e-06/0.2654, allocations: 0 / 388.7 MB, free: 53.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01155/0.277, allocations: 2.455 MB / 391.1 MB, free: 51.89 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.277, allocations: 55.59 kB / 391.2 MB, free: 51.83 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.2773, allocations: 300.7 kB / 391.5 MB, free: 51.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.2773, allocations: 32.02 kB / 391.5 MB, free: 51.59 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.2774, allocations: 232 kB / 391.8 MB, free: 51.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.2775, allocations: 165.9 kB / 391.9 MB, free: 51.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2776, allocations: 96.53 kB / 392 MB, free: 51.19 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.2777, allocations: 351 kB / 392.4 MB, free: 50.85 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002132/0.2779, allocations: 154.2 kB / 392.5 MB, free: 50.78 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002637/0.2782, allocations: 278.9 kB / 392.8 MB, free: 50.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.2787, allocations: 472.8 kB / 393.2 MB, free: 50.23 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2787, allocations: 2.188 kB / 393.2 MB, free: 50.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008708/0.2796, allocations: 0.5927 MB / 393.8 MB, free: 49.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.2796, allocations: 6.812 kB / 393.8 MB, free: 49.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.2796, allocations: 4.188 kB / 393.8 MB, free: 49.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007844/0.2875, allocations: 1.845 MB / 395.7 MB, free: 49.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.2879, allocations: 112.9 kB / 395.8 MB, free: 49.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.2892, allocations: 2.566 MB / 398.4 MB, free: 46.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.2896, allocations: 31.73 kB / 398.4 MB, free: 46.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.085e-05/0.2896, allocations: 19.81 kB / 398.4 MB, free: 46.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001853/0.2898, allocations: 185.5 kB / 398.6 MB, free: 46.31 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.2899, allocations: 39.03 kB / 398.6 MB, free: 46.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009292/0.2909, allocations: 0.8576 MB / 399.5 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.2909, allocations: 11.92 kB / 399.5 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.2909, allocations: 0 / 399.5 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006978/0.2916, allocations: 0.9548 MB / 400.5 MB, free: 45.07 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.2931, allocations: 1.488 MB / 401.9 MB, free: 43.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/0.2931, allocations: 0 / 401.9 MB, free: 43.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.2934, allocations: 81.67 kB / 402 MB, free: 43.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003164/0.2966, allocations: 0.6215 MB / 402.6 MB, free: 43.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.2966, allocations: 17.08 kB / 402.7 MB, free: 43.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006375/0.2973, allocations: 1.284 MB / 404 MB, free: 41.81 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2973, allocations: 0 / 404 MB, free: 41.81 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.2984, allocations: 1.219 MB / 405.2 MB, free: 40.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.646e-05/0.2985, allocations: 124.3 kB / 405.3 MB, free: 40.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.243e-05/0.2986, allocations: 12 kB / 405.3 MB, free: 40.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.2989, allocations: 27.92 kB / 405.3 MB, free: 40.39 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/0.299, allocations: 28.72 kB / 405.4 MB, free: 40.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.862e-05/0.299, allocations: 12 kB / 405.4 MB, free: 40.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001551/0.2991, allocations: 217.9 kB / 405.6 MB, free: 40.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2992, allocations: 0 / 405.6 MB, free: 40.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006869/0.2998, allocations: 237.2 kB / 405.8 MB, free: 39.92 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001826/0.3017, allocations: 1.932 MB / 407.7 MB, free: 37.99 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001209/0.3029, allocations: 0.7136 MB / 408.5 MB, free: 37.27 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3029, allocations: 0 / 408.5 MB, free: 37.27 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000767/0.3037, allocations: 437.1 kB / 408.9 MB, free: 36.84 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.3048, allocations: 244.6 kB / 409.1 MB, free: 36.61 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004777/0.3096, allocations: 4.71 MB / 413.8 MB, free: 31.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001974/0.3098, allocations: 0.8363 MB / 414.7 MB, free: 30.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002943/0.3101, allocations: 68.34 kB / 414.7 MB, free: 30.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.3103, allocations: 159.4 kB / 414.9 MB, free: 30.64 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3103, allocations: 3.938 kB / 414.9 MB, free: 30.64 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06099/0.3713, allocations: 17.04 MB / 431.9 MB, free: 13.56 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001715/0.3715, allocations: 218.2 kB / 432.2 MB, free: 13.31 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/3.679, allocations: 7.938 kB / 432.2 MB, free: 13.3 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches