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.001445/0.001445, allocations: 117.7 kB / 17.78 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.001897/0.001897, allocations: 204.6 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.411/1.411, 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.2168/0.2168, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 75.88 kB / 480.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3406, 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.1615/0.5021, allocations: 153.9 MB / 0.6808 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.5041, allocations: 1.464 MB / 0.6822 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.539e-05/0.5042, allocations: 3.938 kB / 0.6822 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.5045, allocations: 39.8 kB / 0.6823 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003031/0.5076, allocations: 1.079 MB / 0.6833 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 6.172e-06/0.5076, allocations: 0 / 0.6833 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.5078, allocations: 67.69 kB / 0.6834 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.134e-05/0.5078, allocations: 7.938 kB / 0.6834 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.5079, allocations: 19.92 kB / 0.6834 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.5079, allocations: 31.84 kB / 0.6834 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.5079, allocations: 0 / 0.6834 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003403/0.5114, allocations: 1.872 MB / 0.6853 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.016e-05/0.5114, allocations: 15.95 kB / 0.6853 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.5115, allocations: 23.88 kB / 0.6853 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002153/0.5137, allocations: 0.9201 MB / 0.6862 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.5137, allocations: 0 / 0.6862 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5137, allocations: 0 / 0.6862 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.5137, allocations: 0 / 0.6862 GB, free: 1.777 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.0007997/0.5145, allocations: 0.5029 MB / 0.6867 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5145, allocations: 16.03 kB / 0.6867 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.585e-05/0.5146, allocations: 30.75 kB / 0.6867 GB, free: 1.172 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.5146, allocations: 4.938 kB / 0.6867 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.5147, allocations: 175.2 kB / 0.6869 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.5148, allocations: 4 kB / 0.6869 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.5148, allocations: 4 kB / 0.6869 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.5149, allocations: 93.47 kB / 0.687 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5149, allocations: 0 / 0.687 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.515, allocations: 0 / 0.687 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/0.515, allocations: 15.98 kB / 0.687 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.698e-05/0.5151, allocations: 63.97 kB / 0.6871 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.5156, allocations: 312.7 kB / 0.6874 GB, free: 428 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.861e-05/0.5157, allocations: 38.52 kB / 0.6874 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.233e-05/0.5157, allocations: 16.97 kB / 0.6874 GB, free: 360 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002299/0.5159, allocations: 259.2 kB / 0.6877 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.516, allocations: 42.55 kB / 0.6877 GB, free: 15.99 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.492e-06/0.516, allocations: 0 / 0.6877 GB, free: 15.99 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002095/0.5162, allocations: 61.69 kB / 0.6878 GB, free: 15.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.5163, allocations: 51.41 kB / 0.6878 GB, free: 15.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.5164, allocations: 110 kB / 0.6879 GB, free: 15.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.5164, allocations: 25.7 kB / 0.688 GB, free: 15.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.5164, allocations: 99.89 kB / 0.688 GB, free: 15.61 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.5165, allocations: 15.73 kB / 0.6881 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.738e-05/0.5165, allocations: 29.56 kB / 0.6881 GB, free: 15.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.5166, allocations: 322.8 kB / 0.6884 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.5166, allocations: 8.25 kB / 0.6884 GB, free: 15.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.576e-05/0.5167, allocations: 39.42 kB / 0.6884 GB, free: 15.18 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.753e-05/0.5168, allocations: 63.36 kB / 0.6885 GB, free: 15.11 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5168, allocations: 4 kB / 0.6885 GB, free: 15.1 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001284/0.5169, allocations: 73.67 kB / 0.6886 GB, free: 15.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.5169, allocations: 11.94 kB / 0.6886 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.517, allocations: 3.984 kB / 0.6886 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.517, allocations: 0 / 0.6886 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.296e-05/0.5171, allocations: 19.94 kB / 0.6886 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5171, allocations: 0 / 0.6886 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.5171, allocations: 4 kB / 0.6886 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.5171, allocations: 8.094 kB / 0.6886 GB, free: 14.98 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 8.145e-05/0.5172, allocations: 121.8 kB / 0.6887 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.5173, allocations: 7.844 kB / 0.6887 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001571/0.5174, allocations: 73.23 kB / 0.6888 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.5174, allocations: 3.938 kB / 0.6888 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5175, allocations: 11.98 kB / 0.6888 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5175, allocations: 0 / 0.6888 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000169/0.5176, allocations: 157.7 kB / 0.689 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5176, allocations: 3.938 kB / 0.689 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.324e-05/0.5177, allocations: 11.98 kB / 0.689 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.5177, allocations: 0 / 0.689 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.5177, allocations: 0 / 0.689 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5177, allocations: 4 kB / 0.689 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5177, allocations: 160 / 0.689 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001316/0.5179, allocations: 163.6 kB / 0.6892 GB, free: 14.35 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.093e-05/0.5179, allocations: 88.97 kB / 0.6892 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.5179, allocations: 4 kB / 0.6892 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.702e-05/0.518, allocations: 0 / 0.6892 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.518, allocations: 0 / 0.6892 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.518, allocations: 7.938 kB / 0.6893 GB, free: 14.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.797e-05/0.5181, allocations: 91.2 kB / 0.6893 GB, free: 14.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5181, allocations: 0 / 0.6893 GB, free: 14.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005029/0.5186, allocations: 139.9 kB / 0.6895 GB, free: 14 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.00118/0.5198, allocations: 0.9258 MB / 0.6904 GB, free: 13.06 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.5199, allocations: 43.92 kB / 0.6904 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5199, allocations: 0 / 0.6904 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.786e-05/0.5199, allocations: 16 kB / 0.6904 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.5202, allocations: 12.53 kB / 0.6904 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007188/0.521, allocations: 269.5 kB / 0.6907 GB, free: 12.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002314/0.5212, allocations: 0.6916 MB / 0.6914 GB, free: 11.97 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.084e-05/0.5213, allocations: 15.92 kB / 0.6914 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.379e-05/0.5214, allocations: 31.42 kB / 0.6914 GB, free: 11.92 MB / 0.545 GB Notification: Performance of SimCode: time 4.11e-07/0.5214, allocations: 0 / 0.6914 GB, free: 11.92 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02353/0.5449, allocations: 5.008 MB / 0.6963 GB, free: 6.984 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/8.107, allocations: 3.656 kB / 0.6963 GB, free: 6.984 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