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.001288/0.001288, allocations: 103.1 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 227.4 MB / 246.3 MB, free: 9.039 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.226/0.226, allocations: 46.1 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 77.16 kB / 416.9 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1211, allocations: 62.45 MB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.3861/0.5072, allocations: 151.8 MB / 0.6164 GB, free: 11.99 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.5093, allocations: 1.553 MB / 0.6179 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.5094, allocations: 0 / 0.6179 GB, free: 10.44 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003256/0.5098, allocations: 47.55 kB / 0.6179 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.5129, allocations: 0.8972 MB / 0.6188 GB, free: 9.523 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.26e-06/0.5129, allocations: 0 / 0.6188 GB, free: 9.523 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.5131, allocations: 147.5 kB / 0.6189 GB, free: 9.379 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.5132, allocations: 0 / 0.6189 GB, free: 9.379 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.23e-05/0.5132, allocations: 27.91 kB / 0.619 GB, free: 9.352 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.579e-05/0.5133, allocations: 35.84 kB / 0.619 GB, free: 9.316 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.5133, allocations: 0 / 0.619 GB, free: 9.316 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003354/0.5167, allocations: 1.953 MB / 0.6209 GB, free: 7.359 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.5168, allocations: 15.97 kB / 0.6209 GB, free: 7.344 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.5168, allocations: 23.88 kB / 0.6209 GB, free: 7.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001987/0.5188, allocations: 0.9745 MB / 0.6219 GB, free: 6.344 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5188, allocations: 0 / 0.6219 GB, free: 6.344 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5188, allocations: 0 / 0.6219 GB, free: 6.344 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.5188, allocations: 0 / 0.6219 GB, free: 6.344 MB / 462.1 MB 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.0008337/0.5197, allocations: 0.4977 MB / 0.6224 GB, free: 5.801 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.5197, allocations: 8.875 kB / 0.6224 GB, free: 5.793 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.5198, allocations: 42.72 kB / 0.6224 GB, free: 5.742 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.209e-05/0.5198, allocations: 4.938 kB / 0.6224 GB, free: 5.738 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.5199, allocations: 171.7 kB / 0.6226 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.5199, allocations: 4 kB / 0.6226 GB, free: 5.527 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.52, allocations: 4 kB / 0.6226 GB, free: 5.523 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.5201, allocations: 83.36 kB / 0.6227 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.5201, allocations: 0 / 0.6227 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.5202, allocations: 0 / 0.6227 GB, free: 5.438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/0.5202, allocations: 15.98 kB / 0.6227 GB, free: 5.422 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.5203, allocations: 63.95 kB / 0.6228 GB, free: 5.359 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.5208, allocations: 320.5 kB / 0.6231 GB, free: 4.996 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.726e-05/0.5209, allocations: 38.56 kB / 0.6231 GB, free: 4.949 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.5209, allocations: 16.98 kB / 0.6231 GB, free: 4.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.5211, allocations: 259.3 kB / 0.6234 GB, free: 4.621 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.5212, allocations: 34.5 kB / 0.6234 GB, free: 4.578 MB / 462.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.5212, allocations: 7.938 kB / 0.6234 GB, free: 4.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001961/0.5214, allocations: 61.69 kB / 0.6235 GB, free: 4.504 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.5214, allocations: 59.34 kB / 0.6235 GB, free: 4.434 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.5215, allocations: 105.8 kB / 0.6236 GB, free: 4.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.5215, allocations: 25.7 kB / 0.6237 GB, free: 4.289 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.032e-05/0.5216, allocations: 95.94 kB / 0.6237 GB, free: 4.191 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.5216, allocations: 19.73 kB / 0.6238 GB, free: 4.172 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.5216, allocations: 25.72 kB / 0.6238 GB, free: 4.141 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.5217, allocations: 318.8 kB / 0.6241 GB, free: 3.82 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.949e-05/0.5218, allocations: 12 kB / 0.6241 GB, free: 3.809 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.466e-05/0.5218, allocations: 31.42 kB / 0.6241 GB, free: 3.766 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.542e-05/0.5219, allocations: 63.3 kB / 0.6242 GB, free: 3.695 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5219, allocations: 4 kB / 0.6242 GB, free: 3.691 MB / 462.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000134/0.5221, allocations: 85.45 kB / 0.6243 GB, free: 3.602 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.5221, allocations: 7.938 kB / 0.6243 GB, free: 3.594 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5221, allocations: 4.109 kB / 0.6243 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.5221, allocations: 3.938 kB / 0.6243 GB, free: 3.586 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.607e-05/0.5222, allocations: 16 kB / 0.6243 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5222, allocations: 0 / 0.6243 GB, free: 3.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.782e-05/0.5223, allocations: 4 kB / 0.6243 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.5223, allocations: 8.078 kB / 0.6243 GB, free: 3.559 MB / 462.1 MB 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.012e-05/0.5224, allocations: 121.8 kB / 0.6244 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.5224, allocations: 7.844 kB / 0.6244 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001675/0.5226, allocations: 77.17 kB / 0.6245 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.5226, allocations: 0 / 0.6245 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5226, allocations: 0 / 0.6245 GB, free: 3.344 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5226, allocations: 4 kB / 0.6245 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.5228, allocations: 165.7 kB / 0.6247 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5228, allocations: 0 / 0.6247 GB, free: 3.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.5228, allocations: 8 kB / 0.6247 GB, free: 3.121 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5229, allocations: 3.938 kB / 0.6247 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.5229, allocations: 0 / 0.6247 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5229, allocations: 0 / 0.6247 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.5229, allocations: 0 / 0.6247 GB, free: 3.117 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001468/0.523, allocations: 178.1 kB / 0.6249 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.5231, allocations: 88.94 kB / 0.6249 GB, free: 2.824 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.5231, allocations: 0 / 0.6249 GB, free: 2.824 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.259e-05/0.5232, allocations: 0 / 0.6249 GB, free: 2.824 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.5232, allocations: 4 kB / 0.6249 GB, free: 2.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.5232, allocations: 4 kB / 0.625 GB, free: 2.816 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.199e-05/0.5232, allocations: 87.27 kB / 0.625 GB, free: 2.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5232, allocations: 0 / 0.625 GB, free: 2.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005421/0.5238, allocations: 147.8 kB / 0.6252 GB, free: 2.586 MB / 462.1 MB 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.001241/0.525, allocations: 0.9232 MB / 0.6261 GB, free: 1.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001307/0.5252, allocations: 47.48 kB / 0.6261 GB, free: 1.602 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5252, allocations: 0 / 0.6261 GB, free: 1.602 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.219e-05/0.5252, allocations: 19.98 kB / 0.6261 GB, free: 1.582 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.5255, allocations: 4 kB / 0.6261 GB, free: 1.578 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006722/0.5262, allocations: 293 kB / 0.6264 GB, free: 1.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.5265, allocations: 0.6881 MB / 0.6271 GB, free: 0.5391 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 8.586e-05/0.5266, allocations: 19.06 kB / 0.6271 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.5266, allocations: 27.42 kB / 0.6271 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5266, allocations: 0 / 0.6271 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.5446, allocations: 4.829 MB / 0.6319 GB, free: 11.75 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.5449, allocations: 224.3 kB / 0.6321 GB, free: 11.49 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.956/2.501, allocations: 0 / 0.6321 GB, free: 11.49 MB / 478.1 MB (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