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.001334/0.001334, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001394/0.001394, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.225/0.225, allocations: 46.1 MB / 344.3 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 79.86 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3459, allocations: 62.45 MB / 0.5306 GB, free: 13.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1816/0.5276, allocations: 153.9 MB / 0.6809 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002052/0.5297, allocations: 1.464 MB / 0.6823 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.5297, allocations: 0 / 0.6823 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.5301, allocations: 47.73 kB / 0.6824 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003122/0.5333, allocations: 1.068 MB / 0.6834 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.283e-06/0.5333, allocations: 3.938 kB / 0.6834 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.5335, allocations: 63.64 kB / 0.6835 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.344e-05/0.5336, allocations: 15.98 kB / 0.6835 GB, free: 4.516 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.154e-05/0.5336, allocations: 19.92 kB / 0.6835 GB, free: 4.496 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.438e-05/0.5337, allocations: 31.84 kB / 0.6835 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.5337, allocations: 0 / 0.6835 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/0.5372, allocations: 1.872 MB / 0.6854 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.5373, allocations: 15.97 kB / 0.6854 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.5373, allocations: 19.88 kB / 0.6854 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.539, allocations: 0.9312 MB / 0.6863 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.539, allocations: 0 / 0.6863 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5391, allocations: 4 kB / 0.6863 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.5391, allocations: 0 / 0.6863 GB, free: 1.621 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.0008768/0.5399, allocations: 0.5016 MB / 0.6868 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.54, allocations: 16.02 kB / 0.6868 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.654e-05/0.5401, allocations: 34.75 kB / 0.6869 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.5401, allocations: 12.89 kB / 0.6869 GB, free: 1 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.5402, allocations: 163.4 kB / 0.687 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.5403, allocations: 4 kB / 0.687 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.5403, allocations: 8 kB / 0.687 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.5405, allocations: 97.45 kB / 0.6871 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.5405, allocations: 0 / 0.6871 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.5405, allocations: 4 kB / 0.6871 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.5405, allocations: 8 kB / 0.6871 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.5406, allocations: 63.95 kB / 0.6872 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004899/0.5411, allocations: 316.6 kB / 0.6875 GB, free: 260 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.901e-05/0.5412, allocations: 38.56 kB / 0.6875 GB, free: 212 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.113e-05/0.5413, allocations: 16.98 kB / 0.6875 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002578/0.5415, allocations: 267.2 kB / 0.6878 GB, free: 15.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.5416, allocations: 34.56 kB / 0.6878 GB, free: 15.83 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.382e-06/0.5416, allocations: 0 / 0.6878 GB, free: 15.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002107/0.5418, allocations: 69.61 kB / 0.6879 GB, free: 15.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.5418, allocations: 51.41 kB / 0.688 GB, free: 15.69 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.326e-05/0.5419, allocations: 101.9 kB / 0.6881 GB, free: 15.58 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.542, allocations: 25.7 kB / 0.6881 GB, free: 15.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.542, allocations: 104 kB / 0.6882 GB, free: 15.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.5421, allocations: 11.84 kB / 0.6882 GB, free: 15.43 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.5421, allocations: 29.66 kB / 0.6882 GB, free: 15.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5423, allocations: 318.8 kB / 0.6885 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.5423, allocations: 7.984 kB / 0.6885 GB, free: 15.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.256e-05/0.5423, allocations: 43.36 kB / 0.6886 GB, free: 15.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.342e-05/0.5424, allocations: 59.38 kB / 0.6886 GB, free: 14.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5424, allocations: 0 / 0.6886 GB, free: 14.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001375/0.5426, allocations: 82.05 kB / 0.6887 GB, free: 14.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.5426, allocations: 4.109 kB / 0.6887 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5426, allocations: 3.938 kB / 0.6887 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.5426, allocations: 16.02 kB / 0.6887 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.327e-05/0.5427, allocations: 20.05 kB / 0.6887 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.5427, allocations: 4 kB / 0.6887 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.91e-05/0.5428, allocations: 0 / 0.6887 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.5428, allocations: 4 kB / 0.6888 GB, free: 14.81 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 0.0001051/0.5429, allocations: 117.8 kB / 0.6889 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.543, allocations: 11.89 kB / 0.6889 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001802/0.5431, allocations: 81.3 kB / 0.689 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.928e-06/0.5432, allocations: 4 kB / 0.689 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5432, allocations: 0 / 0.689 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5432, allocations: 0 / 0.689 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/0.5434, allocations: 169.7 kB / 0.6891 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5434, allocations: 3.938 kB / 0.6891 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.031e-05/0.5434, allocations: 4 kB / 0.6891 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.5434, allocations: 0 / 0.6891 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.5434, allocations: 4 kB / 0.6891 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5435, allocations: 7.984 kB / 0.6891 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.5435, allocations: 0 / 0.6891 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.5436, allocations: 159.4 kB / 0.6893 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.5437, allocations: 85.05 kB / 0.6894 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.5437, allocations: 0 / 0.6894 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.655e-05/0.5437, allocations: 0 / 0.6894 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.5438, allocations: 7.984 kB / 0.6894 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.5438, allocations: 0 / 0.6894 GB, free: 14.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.665e-05/0.5438, allocations: 91.41 kB / 0.6895 GB, free: 13.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5438, allocations: 0 / 0.6895 GB, free: 13.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005166/0.5444, allocations: 155.4 kB / 0.6896 GB, free: 13.82 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.001233/0.5456, allocations: 0.9257 MB / 0.6905 GB, free: 12.88 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.5458, allocations: 35.92 kB / 0.6906 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.5458, allocations: 0 / 0.6906 GB, free: 12.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.672e-05/0.5458, allocations: 23.92 kB / 0.6906 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.5461, allocations: 6.344 kB / 0.6906 GB, free: 12.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007036/0.5468, allocations: 277.3 kB / 0.6908 GB, free: 12.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.5472, allocations: 0.6874 MB / 0.6915 GB, free: 11.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.746e-05/0.5473, allocations: 23.91 kB / 0.6915 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.5473, allocations: 23.44 kB / 0.6916 GB, free: 11.75 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5473, allocations: 0 / 0.6916 GB, free: 11.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.5736, allocations: 4.996 MB / 0.6964 GB, free: 6.816 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.303/8.876, allocations: 4.219 kB / 0.6964 GB, free: 6.816 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