Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.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) 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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009603/0.0009603, allocations: 196.7 kB / 17.38 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.288/1.288, allocations: 226.5 MB / 244.7 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007353/0.0007352, allocations: 103.8 kB / 296.7 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002049/0.0002049, allocations: 4 kB / 356.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1778, allocations: 51.28 MB / 408.1 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.01835/0.1962, allocations: 24.6 MB / 432.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.1979, allocations: 2.066 MB / 434.8 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.087e-05/0.198, allocations: 4 kB / 434.8 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.1983, allocations: 51.72 kB / 434.8 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1985, allocations: 139.3 kB / 435 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01146/0.21, allocations: 5.114 MB / 440.1 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.2104, allocations: 398.6 kB / 440.5 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.2105, allocations: 5.125 kB / 440.5 MB, free: 11.27 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001832/0.2107, allocations: 127.5 kB / 440.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.2109, allocations: 127.6 kB / 440.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.679e-05/0.2109, allocations: 8 kB / 440.7 MB, free: 11.01 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0135/0.2244, allocations: 9.285 MB / 450 MB, free: 1.711 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.2245, allocations: 63.83 kB / 450.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.2247, allocations: 117.3 kB / 450.2 MB, free: 1.527 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005123/0.2298, allocations: 3.17 MB / 453.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2298, allocations: 0 / 453.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2298, allocations: 0 / 453.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.2299, allocations: 4 kB / 453.4 MB, free: 14.35 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002555/0.2324, allocations: 1.079 MB / 454.5 MB, free: 13.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2325, allocations: 12.03 kB / 454.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.984e-05/0.2325, allocations: 50.73 kB / 454.5 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.2326, allocations: 28.3 kB / 454.5 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.2328, allocations: 214.8 kB / 454.8 MB, free: 12.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.2329, allocations: 12.33 kB / 454.8 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.2329, allocations: 16 kB / 454.8 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006422/0.2336, allocations: 285.4 kB / 455.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2336, allocations: 0 / 455.1 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.2336, allocations: 8 kB / 455.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.2336, allocations: 8 kB / 455.1 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007107/0.2344, allocations: 315.6 kB / 455.4 MB, free: 12.23 MB / 330.7 MB 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.00126/0.2356, allocations: 0.8206 MB / 456.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006192/0.2363, allocations: 253.1 kB / 456.5 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002763/0.2366, allocations: 138.1 kB / 456.6 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01376/0.2503, allocations: 12.91 MB / 469.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/0.2504, allocations: 38.5 kB / 469.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.154e-06/0.2504, allocations: 3.938 kB / 469.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002558/0.253, allocations: 0.6945 MB / 470.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.253, allocations: 81.11 kB / 470.3 MB, free: 10.65 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.608e-05/0.2531, allocations: 128.2 kB / 470.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.196e-05/0.2532, allocations: 37.7 kB / 470.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.2532, allocations: 108.8 kB / 470.6 MB, free: 10.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.629e-05/0.2533, allocations: 126.1 kB / 470.7 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.2533, allocations: 4 kB / 470.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.2534, allocations: 334.8 kB / 471 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.2538, allocations: 135.9 kB / 471.2 MB, free: 9.766 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.2542, allocations: 215.5 kB / 471.4 MB, free: 9.527 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008255/0.2551, allocations: 347.5 kB / 471.7 MB, free: 9.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2551, allocations: 3.938 kB / 471.7 MB, free: 9.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001031/0.2561, allocations: 423.4 kB / 472.1 MB, free: 8.742 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2561, allocations: 4 kB / 472.1 MB, free: 8.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.2561, allocations: 4 kB / 472.1 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.2562, allocations: 8.219 kB / 472.2 MB, free: 8.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.2566, allocations: 91.81 kB / 472.2 MB, free: 8.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.2566, allocations: 4 kB / 472.2 MB, free: 8.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002864/0.2569, allocations: 23.97 kB / 472.3 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.257, allocations: 23.98 kB / 472.3 MB, free: 8.586 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.2571, allocations: 145.7 kB / 472.4 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.2572, allocations: 19.81 kB / 472.5 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/0.2577, allocations: 178.4 kB / 472.6 MB, free: 8.238 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/0.2577, allocations: 7.938 kB / 472.6 MB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.2577, allocations: 4 kB / 472.6 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.2577, allocations: 7.922 kB / 472.6 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001514/0.2592, allocations: 0.7581 MB / 473.4 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.2592, allocations: 4 kB / 473.4 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.2596, allocations: 88.03 kB / 473.5 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.2597, allocations: 4 kB / 473.5 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/0.2597, allocations: 8 kB / 473.5 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2597, allocations: 4 kB / 473.5 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2597, allocations: 0 / 473.5 MB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.261, allocations: 0.7069 MB / 474.2 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.2612, allocations: 120.8 kB / 474.3 MB, free: 6.406 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.049e-05/0.2612, allocations: 15.97 kB / 474.4 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.2615, allocations: 19.98 kB / 474.4 MB, free: 6.371 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/0.2616, allocations: 31.97 kB / 474.4 MB, free: 6.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.2616, allocations: 19.98 kB / 474.4 MB, free: 6.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.501e-05/0.2617, allocations: 99.2 kB / 474.5 MB, free: 6.223 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2617, allocations: 0 / 474.5 MB, free: 6.223 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002295/0.264, allocations: 0.9409 MB / 475.5 MB, free: 5.281 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005143/0.2692, allocations: 2.402 MB / 477.9 MB, free: 2.836 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000895/0.2701, allocations: 351.7 kB / 478.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2701, allocations: 0 / 478.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004142/0.2705, allocations: 175.7 kB / 478.4 MB, free: 2.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006817/0.2712, allocations: 98.5 kB / 478.5 MB, free: 2.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003766/0.275, allocations: 1.887 MB / 480.4 MB, free: 256 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.2752, allocations: 0.7335 MB / 481.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.2755, allocations: 79.38 kB / 481.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2755, allocations: 0 / 481.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.923/5.198, allocations: 19.78 MB / 0.4892 GB, free: 11.6 MB / 378.7 MB (rm -f Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches