Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001097/0.001098, allocations: 199.8 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.289/1.289, allocations: 226.6 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008017/0.0008018, allocations: 96.7 kB / 295.5 MB, free: 6.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3355/0.3355, allocations: 44.82 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002973, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4123, allocations: 62.96 MB / 0.5159 GB, free: 37.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5582/0.9706, allocations: 174.1 MB / 0.6859 GB, free: 4.316 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008822/0.9794, allocations: 7.009 MB / 0.6927 GB, free: 4.246 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001192/0.9807, allocations: 26.56 kB / 0.6928 GB, free: 4.246 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.9818, allocations: 370.1 kB / 0.6931 GB, free: 4.238 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006679/0.9885, allocations: 2.063 MB / 0.6951 GB, free: 4.141 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006426/0.995, allocations: 1.882 MB / 0.697 GB, free: 4.062 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003904/0.9989, allocations: 2.663 MB / 0.6996 GB, free: 4.059 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009863/0.9999, allocations: 0.5085 MB / 0.7001 GB, free: 3.996 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00455/1.004, allocations: 1.633 MB / 0.7017 GB, free: 3.957 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/1.006, allocations: 0.8606 MB / 0.7025 GB, free: 3.953 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/1.006, allocations: 46.69 kB / 0.7026 GB, free: 3.953 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01239/1.019, allocations: 5.484 MB / 0.7079 GB, free: 3.902 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/1.02, allocations: 391.2 kB / 0.7083 GB, free: 3.898 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001806/1.022, allocations: 0.4919 MB / 0.7088 GB, free: 19.87 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.006682/1.028, allocations: 2.675 MB / 0.7114 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/1.028, allocations: 0 / 0.7114 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.544e-06/1.028, allocations: 4.906 kB / 0.7114 GB, free: 19.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.61e-05/1.028, allocations: 0 / 0.7114 GB, free: 19.68 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.0051/1.034, allocations: 1.526 MB / 0.7129 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/1.034, allocations: 12.53 kB / 0.7129 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004166/1.034, allocations: 112.6 kB / 0.713 GB, free: 18.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/1.035, allocations: 0.5924 MB / 0.7136 GB, free: 18.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/1.035, allocations: 119 kB / 0.7137 GB, free: 18.41 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/1.035, allocations: 68.55 kB / 0.7137 GB, free: 18.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/1.038, allocations: 1.153 MB / 0.7149 GB, free: 18.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.735e-05/1.038, allocations: 5.625 kB / 0.7149 GB, free: 18.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/1.038, allocations: 32.77 kB / 0.7149 GB, free: 18.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001052/1.038, allocations: 67.58 kB / 0.715 GB, free: 18.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001992/1.04, allocations: 1.156 MB / 0.7161 GB, free: 18.21 MB / 0.4948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006363/1.046, allocations: 4.984 MB / 0.721 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/1.048, allocations: 0.8302 MB / 0.7218 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006234/1.048, allocations: 428.3 kB / 0.7222 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/1.05, allocations: 1.625 MB / 0.7238 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/1.05, allocations: 47.84 kB / 0.7238 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 3.396e-06/1.05, allocations: 0 / 0.7238 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.01271/1.063, allocations: 4.129 MB / 0.7279 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/1.063, allocations: 117.8 kB / 0.728 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008266/1.064, allocations: 0.6534 MB / 0.7286 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/1.064, allocations: 40.52 kB / 0.7286 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/1.064, allocations: 386.1 kB / 0.729 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/1.064, allocations: 294.7 kB / 0.7293 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.338e-05/1.064, allocations: 21.16 kB / 0.7293 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001564/1.064, allocations: 396.6 kB / 0.7297 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000877/1.065, allocations: 497.7 kB / 0.7302 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/1.066, allocations: 0.7539 MB / 0.7309 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002042/1.068, allocations: 1.282 MB / 0.7322 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/1.068, allocations: 2.906 kB / 0.7322 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003381/1.072, allocations: 1.687 MB / 0.7338 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/1.072, allocations: 8.031 kB / 0.7338 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/1.072, allocations: 6.094 kB / 0.7338 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007068/1.079, allocations: 1.38 MB / 0.7352 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000738/1.08, allocations: 155.9 kB / 0.7353 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/1.082, allocations: 1.546 MB / 0.7368 GB, free: 8.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/1.084, allocations: 82.52 kB / 0.7369 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002128/1.084, allocations: 55.56 kB / 0.737 GB, free: 8.402 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0007215/1.085, allocations: 303.3 kB / 0.7372 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002733/1.085, allocations: 86.41 kB / 0.7373 GB, free: 8.211 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003477/1.088, allocations: 1.693 MB / 0.739 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/1.089, allocations: 10.69 kB / 0.739 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/1.089, allocations: 2.906 kB / 0.739 GB, free: 7.754 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.089, allocations: 7.109 kB / 0.739 GB, free: 7.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004815/1.093, allocations: 2.635 MB / 0.7416 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/1.093, allocations: 0 / 0.7416 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/1.095, allocations: 255.2 kB / 0.7418 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001839/1.097, allocations: 408.4 kB / 0.7422 GB, free: 6.605 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-05/1.097, allocations: 31.39 kB / 0.7422 GB, free: 6.602 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/1.099, allocations: 2.275 MB / 0.7445 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/1.099, allocations: 0 / 0.7445 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003926/1.103, allocations: 2.046 MB / 0.7465 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008161/1.104, allocations: 292.6 kB / 0.7467 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003128/1.104, allocations: 19.75 kB / 0.7468 GB, free: 3.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/1.105, allocations: 78.58 kB / 0.7468 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/1.106, allocations: 62.52 kB / 0.7469 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001577/1.106, allocations: 55.14 kB / 0.7469 GB, free: 3.863 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007673/1.106, allocations: 487.7 kB / 0.7474 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/1.106, allocations: 0 / 0.7474 GB, free: 3.699 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00303/1.11, allocations: 0.6856 MB / 0.7481 GB, free: 3.09 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002796/1.112, allocations: 0.8021 MB / 0.7489 GB, free: 2.375 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002676/1.115, allocations: 1.244 MB / 0.7501 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/1.115, allocations: 0.9375 kB / 0.7501 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001732/1.117, allocations: 0.7111 MB / 0.7508 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/1.119, allocations: 466.5 kB / 0.7512 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004736/1.124, allocations: 2.565 MB / 0.7537 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006737/1.125, allocations: 1.043 MB / 0.7547 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003384/1.125, allocations: 95.03 kB / 0.7548 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of SimCode: time 1.213e-06/1.125, allocations: 4 kB / 0.7548 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of Templates: time 0.03715/1.162, allocations: 28.08 MB / 0.7823 GB, free: 1.312 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches