Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.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) 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 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(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001353/0.001353, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 79.86 kB / 480.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3438, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1644/0.5082, allocations: 153.9 MB / 0.6808 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00226/0.5105, allocations: 1.464 MB / 0.6822 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.076e-05/0.5106, allocations: 0 / 0.6822 GB, free: 5.879 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.511, allocations: 47.73 kB / 0.6823 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.5143, allocations: 1.075 MB / 0.6833 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.023e-06/0.5143, allocations: 0 / 0.6833 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.5144, allocations: 63.66 kB / 0.6834 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.68e-05/0.5145, allocations: 7.938 kB / 0.6834 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.483e-05/0.5145, allocations: 27.91 kB / 0.6834 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.045e-05/0.5146, allocations: 35.84 kB / 0.6834 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.5146, allocations: 0 / 0.6834 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.5179, allocations: 1.872 MB / 0.6853 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.994e-05/0.518, allocations: 7.984 kB / 0.6853 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.316e-05/0.518, allocations: 23.88 kB / 0.6853 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002072/0.5201, allocations: 0.924 MB / 0.6862 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5201, allocations: 0 / 0.6862 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5201, allocations: 0 / 0.6862 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.5201, allocations: 0 / 0.6862 GB, free: 1.793 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009708/0.5211, allocations: 0.499 MB / 0.6867 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.5212, allocations: 12.03 kB / 0.6867 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.5212, allocations: 42.72 kB / 0.6867 GB, free: 1.184 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.496e-05/0.5213, allocations: 4.938 kB / 0.6867 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.5214, allocations: 171.2 kB / 0.6869 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.5214, allocations: 4 kB / 0.6869 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.5214, allocations: 4 kB / 0.6869 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.5216, allocations: 85.55 kB / 0.687 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.5216, allocations: 0 / 0.687 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.5217, allocations: 11.98 kB / 0.687 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.856e-05/0.5217, allocations: 4 kB / 0.687 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001129/0.5218, allocations: 63.95 kB / 0.6871 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.5223, allocations: 312.7 kB / 0.6874 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.416e-05/0.5224, allocations: 42.5 kB / 0.6874 GB, free: 400 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.355e-05/0.5225, allocations: 12.98 kB / 0.6874 GB, free: 384 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.5227, allocations: 263.2 kB / 0.6877 GB, free: 64 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.5228, allocations: 38.56 kB / 0.6877 GB, free: 16 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.413e-06/0.5228, allocations: 0 / 0.6877 GB, free: 16 kB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002187/0.523, allocations: 61.73 kB / 0.6878 GB, free: 15.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.523, allocations: 51.41 kB / 0.6878 GB, free: 15.88 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.5232, allocations: 109.7 kB / 0.6879 GB, free: 15.77 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.5232, allocations: 25.7 kB / 0.6879 GB, free: 15.74 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.5233, allocations: 103.9 kB / 0.688 GB, free: 15.63 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.337e-05/0.5233, allocations: 15.75 kB / 0.6881 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.5233, allocations: 33.59 kB / 0.6881 GB, free: 15.58 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.5235, allocations: 314.8 kB / 0.6884 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/0.5235, allocations: 8 kB / 0.6884 GB, free: 15.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.53e-05/0.5236, allocations: 39.42 kB / 0.6884 GB, free: 15.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.88e-05/0.5237, allocations: 63.86 kB / 0.6885 GB, free: 15.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5237, allocations: 4.047 kB / 0.6885 GB, free: 15.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001398/0.5238, allocations: 89.48 kB / 0.6886 GB, free: 15.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5239, allocations: 4 kB / 0.6886 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.5239, allocations: 0 / 0.6886 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.5239, allocations: 4 kB / 0.6886 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.524, allocations: 11.94 kB / 0.6886 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.524, allocations: 16.22 kB / 0.6886 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.342e-05/0.524, allocations: 4 kB / 0.6886 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.524, allocations: 4 kB / 0.6886 GB, free: 14.99 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.244e-05/0.5241, allocations: 109.8 kB / 0.6887 GB, free: 14.87 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.5242, allocations: 11.84 kB / 0.6887 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.5243, allocations: 77.17 kB / 0.6888 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.5243, allocations: 4 kB / 0.6888 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5244, allocations: 0 / 0.6888 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.5244, allocations: 0 / 0.6888 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.5246, allocations: 165.7 kB / 0.689 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.5246, allocations: 7.938 kB / 0.689 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.5246, allocations: 4 kB / 0.689 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.5247, allocations: 0 / 0.689 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.5247, allocations: 4 kB / 0.689 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.5247, allocations: 0 / 0.689 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5247, allocations: 0 / 0.689 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.5248, allocations: 167.4 kB / 0.6892 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.5249, allocations: 88.98 kB / 0.6892 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.5249, allocations: 0 / 0.6892 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.694e-05/0.525, allocations: 192 / 0.6892 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.525, allocations: 7.984 kB / 0.6893 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.525, allocations: 11.92 kB / 0.6893 GB, free: 14.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.419e-05/0.5251, allocations: 83.28 kB / 0.6893 GB, free: 14.16 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5251, allocations: 0 / 0.6893 GB, free: 14.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006838/0.5258, allocations: 147.9 kB / 0.6895 GB, free: 14.02 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001314/0.5271, allocations: 0.925 MB / 0.6904 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.5272, allocations: 35.92 kB / 0.6904 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5272, allocations: 0 / 0.6904 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.027e-05/0.5273, allocations: 15.98 kB / 0.6904 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.5276, allocations: 8 kB / 0.6904 GB, free: 13.01 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.5283, allocations: 273.7 kB / 0.6907 GB, free: 12.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.5286, allocations: 0.6924 MB / 0.6914 GB, free: 11.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.19e-05/0.5287, allocations: 23.91 kB / 0.6914 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.704e-05/0.5287, allocations: 15.44 kB / 0.6914 GB, free: 11.95 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.5287, allocations: 0 / 0.6914 GB, free: 11.95 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02344/0.5522, allocations: 5.008 MB / 0.6963 GB, free: 7.004 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/8.259, allocations: 12.91 kB / 0.6963 GB, free: 7 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches