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.001315/0.001315, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001399/0.001399, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.469/1.469, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2261/0.2261, allocations: 46.9 MB / 357.4 MB, free: 10.49 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.002168/0.002168, allocations: 75.88 kB / 0.4912 GB, free: 8.355 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1256, allocations: 65.99 MB / 0.5557 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4533/0.5789, allocations: 154.4 MB / 0.7064 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002041/0.581, allocations: 1.459 MB / 0.7078 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.154e-05/0.581, allocations: 0 / 0.7078 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.5813, allocations: 46.92 kB / 0.7079 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002717/0.584, allocations: 1.08 MB / 0.7089 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 5.049e-06/0.584, allocations: 0 / 0.7089 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.5842, allocations: 67.66 kB / 0.709 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.5842, allocations: 0 / 0.709 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.5843, allocations: 27.84 kB / 0.709 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.5843, allocations: 40.94 kB / 0.7091 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.995e-06/0.5843, allocations: 0 / 0.7091 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/0.5877, allocations: 1.93 MB / 0.7109 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.5877, allocations: 7.984 kB / 0.711 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.122e-05/0.5878, allocations: 23.88 kB / 0.711 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.5893, allocations: 0.9274 MB / 0.7119 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.5893, allocations: 0 / 0.7119 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.223e-06/0.5893, allocations: 0 / 0.7119 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.5893, allocations: 0 / 0.7119 GB, free: 1.977 MB / 0.5137 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.0007391/0.5901, allocations: 0.5094 MB / 0.7124 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.5901, allocations: 12.03 kB / 0.7124 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.725e-05/0.5901, allocations: 40.61 kB / 0.7124 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.926e-05/0.5902, allocations: 8.891 kB / 0.7124 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.5903, allocations: 167.7 kB / 0.7126 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.5903, allocations: 4 kB / 0.7126 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.5903, allocations: 4 kB / 0.7126 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.5905, allocations: 77.67 kB / 0.7127 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.5905, allocations: 0 / 0.7127 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.5905, allocations: 11.92 kB / 0.7127 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.573e-05/0.5905, allocations: 15.98 kB / 0.7127 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.5906, allocations: 69.09 kB / 0.7128 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.5912, allocations: 312.7 kB / 0.7131 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.873e-05/0.5912, allocations: 38.56 kB / 0.7131 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.5913, allocations: 16.98 kB / 0.7131 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002552/0.5915, allocations: 251.3 kB / 0.7134 GB, free: 248 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.5916, allocations: 50.44 kB / 0.7134 GB, free: 188 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.5916, allocations: 0 / 0.7134 GB, free: 188 kB / 0.5137 GB Notification: Performance of matching and sorting (n=5): time 0.0002098/0.5918, allocations: 61.69 kB / 0.7135 GB, free: 120 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.5918, allocations: 51.41 kB / 0.7135 GB, free: 56 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.5919, allocations: 111.3 kB / 0.7136 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.5919, allocations: 25.7 kB / 0.7137 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.592, allocations: 100 kB / 0.7137 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.592, allocations: 15.83 kB / 0.7138 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.143e-05/0.5921, allocations: 33.66 kB / 0.7138 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5922, allocations: 318.8 kB / 0.7141 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.527e-05/0.5922, allocations: 4 kB / 0.7141 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.035e-05/0.5923, allocations: 43.36 kB / 0.7141 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.305e-05/0.5924, allocations: 59.42 kB / 0.7142 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5924, allocations: 0 / 0.7142 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001323/0.5925, allocations: 81.55 kB / 0.7143 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.5925, allocations: 7.938 kB / 0.7143 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5925, allocations: 0 / 0.7143 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.5926, allocations: 4 kB / 0.7143 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.523e-05/0.5926, allocations: 8.109 kB / 0.7143 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.5926, allocations: 8.031 kB / 0.7143 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.475e-05/0.5927, allocations: 11.98 kB / 0.7143 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.5927, allocations: 4 kB / 0.7143 GB, free: 15.18 MB / 0.5294 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 9.288e-05/0.5928, allocations: 117.7 kB / 0.7144 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.5928, allocations: 11.89 kB / 0.7144 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001667/0.593, allocations: 75.52 kB / 0.7145 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.593, allocations: 8 kB / 0.7145 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.593, allocations: 0 / 0.7145 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.593, allocations: 0 / 0.7145 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.5932, allocations: 169.7 kB / 0.7147 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5932, allocations: 3.938 kB / 0.7147 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.039e-05/0.5932, allocations: 4 kB / 0.7147 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.5932, allocations: 3.938 kB / 0.7147 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.5932, allocations: 7.984 kB / 0.7147 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.5932, allocations: 0 / 0.7147 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5932, allocations: 3.938 kB / 0.7147 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.5934, allocations: 163.5 kB / 0.7149 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.376e-05/0.5935, allocations: 85.05 kB / 0.7149 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.355e-05/0.5935, allocations: 0 / 0.7149 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.778e-05/0.5935, allocations: 0 / 0.7149 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.064e-05/0.5935, allocations: 4 kB / 0.715 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.5935, allocations: 3.984 kB / 0.715 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.686e-05/0.5936, allocations: 83.28 kB / 0.715 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5936, allocations: 0 / 0.715 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005223/0.5941, allocations: 155.5 kB / 0.7152 GB, free: 14.2 MB / 0.5294 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.001298/0.5954, allocations: 0.9408 MB / 0.7161 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.5956, allocations: 36.67 kB / 0.7161 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5956, allocations: 0 / 0.7161 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.893e-05/0.5956, allocations: 15.98 kB / 0.7162 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.5959, allocations: 11.16 kB / 0.7162 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006856/0.5966, allocations: 279.8 kB / 0.7164 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.5969, allocations: 0.6846 MB / 0.7171 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 7.042e-05/0.597, allocations: 18.48 kB / 0.7171 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.597, allocations: 19.44 kB / 0.7171 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.597, allocations: 0 / 0.7171 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.6249, allocations: 5.008 MB / 0.722 GB, free: 7.184 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.103/8.728, allocations: 8.047 kB / 0.722 GB, free: 7.176 MB / 0.5294 GB " [Timeout remaining time 651] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.719891026616096]