Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.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.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_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.001348/0.001348, allocations: 121.6 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.00128/0.00128, allocations: 200.7 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.43/1.43, allocations: 227.4 MB / 247 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.2193/0.2193, allocations: 46.12 MB / 344.4 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 79.86 kB / 480.9 MB, free: 4.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3294, allocations: 62.44 MB / 0.5307 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1885/0.5179, allocations: 155.1 MB / 0.6821 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01286/0.5308, allocations: 10.54 MB / 0.6924 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000135/0.531, allocations: 0 / 0.6924 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000396/0.5314, allocations: 87.48 kB / 0.6925 GB, free: 11.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008165/0.5396, allocations: 3.041 MB / 0.6955 GB, free: 8.293 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.54, allocations: 165.5 kB / 0.6956 GB, free: 8.137 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007822/0.5408, allocations: 0.5256 MB / 0.6961 GB, free: 7.609 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.344e-05/0.5409, allocations: 24.34 kB / 0.6962 GB, free: 7.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003443/0.5413, allocations: 227.2 kB / 0.6964 GB, free: 7.367 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007056/0.542, allocations: 382.9 kB / 0.6967 GB, free: 6.992 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.542, allocations: 19.94 kB / 0.6968 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00925/0.5513, allocations: 4.697 MB / 0.7013 GB, free: 2.273 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001622/0.5515, allocations: 95.69 kB / 0.7014 GB, free: 2.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.5518, allocations: 167.3 kB / 0.7016 GB, free: 2.016 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005789/0.5576, allocations: 2.439 MB / 0.704 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.5576, allocations: 0 / 0.704 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5576, allocations: 0 / 0.704 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.5576, allocations: 0 / 0.704 GB, free: 15.57 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002604/0.5602, allocations: 1.092 MB / 0.705 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.5603, allocations: 8.031 kB / 0.705 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.766e-05/0.5604, allocations: 74.7 kB / 0.7051 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.5606, allocations: 39.94 kB / 0.7052 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.5609, allocations: 242.6 kB / 0.7054 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.561, allocations: 131.5 kB / 0.7055 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.201e-05/0.5611, allocations: 28 kB / 0.7055 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000887/0.562, allocations: 0.5643 MB / 0.7061 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.562, allocations: 0 / 0.7061 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.337e-05/0.5621, allocations: 19.92 kB / 0.7061 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-05/0.5621, allocations: 32.48 kB / 0.7061 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.5639, allocations: 1.251 MB / 0.7074 GB, free: 11.94 MB / 0.5606 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.00259/0.5665, allocations: 1.98 MB / 0.7093 GB, free: 9.809 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007161/0.5672, allocations: 264.8 kB / 0.7096 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002064/0.5675, allocations: 114.1 kB / 0.7097 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003654/0.5711, allocations: 3.099 MB / 0.7127 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.5712, allocations: 42.55 kB / 0.7127 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.813e-06/0.5712, allocations: 0 / 0.7127 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=44): time 0.001889/0.5731, allocations: 0.7147 MB / 0.7134 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.5731, allocations: 67.34 kB / 0.7135 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.5734, allocations: 206.9 kB / 0.7137 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.5734, allocations: 33.7 kB / 0.7137 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.5736, allocations: 208.3 kB / 0.7139 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.5737, allocations: 154.6 kB / 0.7141 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001759/0.5739, allocations: 134.2 kB / 0.7142 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.5741, allocations: 338.8 kB / 0.7145 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.5743, allocations: 101.2 kB / 0.7146 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.575, allocations: 421.4 kB / 0.715 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008405/0.5758, allocations: 0.5708 MB / 0.7156 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.5758, allocations: 4 kB / 0.7156 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009583/0.5768, allocations: 0.5483 MB / 0.7161 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.5768, allocations: 12 kB / 0.7161 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.5768, allocations: 8 kB / 0.7161 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.5769, allocations: 16 kB / 0.7161 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006591/0.5775, allocations: 199.6 kB / 0.7163 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008857/0.5784, allocations: 1.192 MB / 0.7175 GB, free: 448 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.5787, allocations: 16 kB / 0.7175 GB, free: 432 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.5789, allocations: 63.92 kB / 0.7176 GB, free: 368 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002657/0.5792, allocations: 177.5 kB / 0.7177 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.613e-05/0.5793, allocations: 27.86 kB / 0.7178 GB, free: 152 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2521/0.8314, allocations: 0.6209 MB / 0.7184 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-05/0.8314, allocations: 4.594 kB / 0.7184 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.8315, allocations: 3.375 kB / 0.7184 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.8315, allocations: 0.75 kB / 0.7184 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.8327, allocations: 0.8263 MB / 0.7192 GB, free: 182 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.8327, allocations: 1.219 kB / 0.7192 GB, free: 182 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005116/0.8332, allocations: 94.95 kB / 0.7193 GB, free: 182 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.8333, allocations: 7.562 kB / 0.7193 GB, free: 182 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.8333, allocations: 12.73 kB / 0.7193 GB, free: 182 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003883/0.8337, allocations: 1.17 MB / 0.7204 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.8337, allocations: 1.922 kB / 0.7204 GB, free: 180.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005798/0.8343, allocations: 366.2 kB / 0.7208 GB, free: 180.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.8344, allocations: 128.3 kB / 0.7209 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.345e-05/0.8345, allocations: 8.172 kB / 0.7209 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.8347, allocations: 14.41 kB / 0.7209 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.8348, allocations: 23.61 kB / 0.721 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.8349, allocations: 18.19 kB / 0.721 GB, free: 180.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001755/0.835, allocations: 180.4 kB / 0.7212 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.835, allocations: 0 / 0.7212 GB, free: 180.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001589/0.8366, allocations: 0.5051 MB / 0.7216 GB, free: 180.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (35): * Single equations (assignments): 32 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002323/0.839, allocations: 1.548 MB / 0.7232 GB, free: 179.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0008018/0.8398, allocations: 368.5 kB / 0.7235 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.8398, allocations: 2.594 kB / 0.7235 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003215/0.8401, allocations: 150.8 kB / 0.7237 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007446/0.8409, allocations: 130.1 kB / 0.7238 GB, free: 179.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.8517, allocations: 8.838 MB / 0.7324 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.8519, allocations: 0.7731 MB / 0.7332 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005897/0.8525, allocations: 212.8 kB / 0.7334 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.8527, allocations: 123.4 kB / 0.7335 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of SimCode: time 8.72e-07/0.8527, allocations: 1.25 kB / 0.7335 GB, free: 172.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04448/0.8972, allocations: 18.59 MB / 0.7516 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.54, allocations: 13.5 kB / 0.7517 GB, free: 156.7 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches