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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001971/0.001971, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002151/0.002151, allocations: 214.4 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.93 MB / 360.8 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 79.88 kB / 0.4962 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3096, allocations: 66.08 MB / 0.5607 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1909/0.5005, allocations: 154.4 MB / 0.7115 GB, free: 9.309 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002371/0.5029, allocations: 1.484 MB / 0.7129 GB, free: 7.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.5029, allocations: 0 / 0.7129 GB, free: 7.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.5034, allocations: 47.73 kB / 0.713 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.003542/0.5069, allocations: 1.095 MB / 0.7141 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.195e-06/0.5069, allocations: 0 / 0.7141 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001862/0.5071, allocations: 63.64 kB / 0.7141 GB, free: 6.617 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.222e-05/0.5072, allocations: 4 kB / 0.7141 GB, free: 6.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.575e-05/0.5072, allocations: 27.91 kB / 0.7142 GB, free: 6.586 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.738e-05/0.5073, allocations: 31.84 kB / 0.7142 GB, free: 6.555 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.5073, allocations: 0 / 0.7142 GB, free: 6.555 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003898/0.5112, allocations: 1.95 MB / 0.7161 GB, free: 4.602 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.5113, allocations: 15.92 kB / 0.7161 GB, free: 4.586 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.5113, allocations: 15.94 kB / 0.7161 GB, free: 4.57 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.5135, allocations: 0.9312 MB / 0.717 GB, free: 3.637 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5135, allocations: 3.938 kB / 0.717 GB, free: 3.633 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5135, allocations: 0 / 0.717 GB, free: 3.633 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.5135, allocations: 0 / 0.717 GB, free: 3.633 MB / 0.545 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.0009376/0.5144, allocations: 448.5 kB / 0.7175 GB, free: 3.164 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.5145, allocations: 8.031 kB / 0.7175 GB, free: 3.156 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.5145, allocations: 34.75 kB / 0.7175 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.987e-05/0.5146, allocations: 12.88 kB / 0.7175 GB, free: 3.102 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.5147, allocations: 117.5 kB / 0.7176 GB, free: 2.961 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5147, allocations: 0 / 0.7176 GB, free: 2.961 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.335e-05/0.5147, allocations: 7.984 kB / 0.7176 GB, free: 2.953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.5149, allocations: 81.61 kB / 0.7177 GB, free: 2.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5149, allocations: 0 / 0.7177 GB, free: 2.867 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.5149, allocations: 4 kB / 0.7177 GB, free: 2.863 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.5149, allocations: 11.98 kB / 0.7177 GB, free: 2.852 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.5151, allocations: 63.97 kB / 0.7178 GB, free: 2.789 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005455/0.5156, allocations: 287.7 kB / 0.7181 GB, free: 2.465 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 9.141e-05/0.5157, allocations: 42.5 kB / 0.7181 GB, free: 2.414 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.749e-05/0.5157, allocations: 24.97 kB / 0.7181 GB, free: 2.387 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.5159, allocations: 31.92 kB / 0.7182 GB, free: 2.355 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.5159, allocations: 30.56 kB / 0.7182 GB, free: 2.316 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.5159, allocations: 4 kB / 0.7182 GB, free: 2.312 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.0002295/0.5162, allocations: 73.61 kB / 0.7183 GB, free: 2.234 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.5162, allocations: 51.41 kB / 0.7183 GB, free: 2.172 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.338e-05/0.5163, allocations: 102 kB / 0.7184 GB, free: 2.062 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.5163, allocations: 33.64 kB / 0.7184 GB, free: 2.023 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/0.5164, allocations: 92.03 kB / 0.7185 GB, free: 1.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.5164, allocations: 19.84 kB / 0.7185 GB, free: 1.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.778e-05/0.5165, allocations: 29.66 kB / 0.7186 GB, free: 1.875 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.5166, allocations: 314.8 kB / 0.7189 GB, free: 1.559 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.018e-05/0.5167, allocations: 15.98 kB / 0.7189 GB, free: 1.543 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.904e-05/0.5167, allocations: 39.41 kB / 0.7189 GB, free: 1.492 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.556e-05/0.5168, allocations: 55.36 kB / 0.719 GB, free: 1.426 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5168, allocations: 4 kB / 0.719 GB, free: 1.422 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001515/0.517, allocations: 85.55 kB / 0.7191 GB, free: 1.332 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.517, allocations: 4 kB / 0.7191 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/0.517, allocations: 4 kB / 0.7191 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.517, allocations: 0 / 0.7191 GB, free: 1.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.5171, allocations: 19.92 kB / 0.7191 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.5171, allocations: 0 / 0.7191 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.732e-05/0.5171, allocations: 4 kB / 0.7191 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.5172, allocations: 4 kB / 0.7191 GB, free: 1.297 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.0001011/0.5173, allocations: 123.2 kB / 0.7192 GB, free: 1.168 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.214e-05/0.5173, allocations: 7.891 kB / 0.7192 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.5175, allocations: 81.86 kB / 0.7193 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.5175, allocations: 0 / 0.7193 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5175, allocations: 0 / 0.7193 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5175, allocations: 4.047 kB / 0.7193 GB, free: 1.07 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.5177, allocations: 144.7 kB / 0.7194 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.5177, allocations: 3.938 kB / 0.7194 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.561e-05/0.5177, allocations: 8 kB / 0.7195 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5177, allocations: 0 / 0.7195 GB, free: 0.875 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.5177, allocations: 4 kB / 0.7195 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5177, allocations: 0 / 0.7195 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.5177, allocations: 3.984 kB / 0.7195 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.5179, allocations: 155.5 kB / 0.7196 GB, free: 0.6992 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.252e-05/0.5179, allocations: 11.88 kB / 0.7196 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.5179, allocations: 4 kB / 0.7196 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.833e-05/0.518, allocations: 0 / 0.7196 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.518, allocations: 7.984 kB / 0.7196 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.518, allocations: 4 kB / 0.7196 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.717e-05/0.518, allocations: 83.22 kB / 0.7197 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.518, allocations: 0 / 0.7197 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005622/0.5186, allocations: 159.5 kB / 0.7199 GB, free: 444 kB / 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.001274/0.5199, allocations: 0.9109 MB / 0.7208 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001314/0.52, allocations: 35.92 kB / 0.7208 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.52, allocations: 0 / 0.7208 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.5201, allocations: 28.55 kB / 0.7208 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002903/0.5204, allocations: 10.47 kB / 0.7208 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.5211, allocations: 265.8 kB / 0.7211 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.5214, allocations: 0.6845 MB / 0.7217 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.484e-05/0.5215, allocations: 24.06 kB / 0.7218 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.5215, allocations: 19.44 kB / 0.7218 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.5215, allocations: 0 / 0.7218 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.5536, allocations: 5.106 MB / 0.7268 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.7, allocations: 7.875 kB / 0.7268 GB, free: 9.348 MB / 0.5606 GB " [Timeout remaining time 648] (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 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.920548639027402]