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.001235/0.001235, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001377/0.001377, allocations: 211 kB / 24.53 MB, free: 4.07 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.347/1.347, allocations: 230.5 MB / 258.2 MB, free: 8.027 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.2142/0.2142, allocations: 46.93 MB / 361.6 MB, free: 4.25 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002209/0.002209, allocations: 75.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3068, allocations: 66.08 MB / 0.5615 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1833/0.4901, allocations: 154.4 MB / 0.7123 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.4921, allocations: 1.48 MB / 0.7137 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.4922, allocations: 0 / 0.7137 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003507/0.4925, allocations: 43.8 kB / 0.7138 GB, free: 7.762 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002863/0.4954, allocations: 1.098 MB / 0.7148 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 4.889e-06/0.4954, allocations: 4 kB / 0.7148 GB, free: 6.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/0.4955, allocations: 67.64 kB / 0.7149 GB, free: 6.594 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.74e-05/0.4956, allocations: 0 / 0.7149 GB, free: 6.594 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.316e-05/0.4956, allocations: 23.92 kB / 0.7149 GB, free: 6.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.4957, allocations: 35.83 kB / 0.715 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.676e-06/0.4957, allocations: 0 / 0.715 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003261/0.499, allocations: 1.949 MB / 0.7169 GB, free: 4.586 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.499, allocations: 15.92 kB / 0.7169 GB, free: 4.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.4991, allocations: 19.92 kB / 0.7169 GB, free: 4.551 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00146/0.5005, allocations: 0.9312 MB / 0.7178 GB, free: 3.617 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5005, allocations: 0 / 0.7178 GB, free: 3.617 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5005, allocations: 3.938 kB / 0.7178 GB, free: 3.613 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.5005, allocations: 0 / 0.7178 GB, free: 3.613 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.000757/0.5013, allocations: 452.5 kB / 0.7182 GB, free: 3.141 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.5013, allocations: 8.031 kB / 0.7182 GB, free: 3.133 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.739e-05/0.5013, allocations: 4.188 kB / 0.7182 GB, free: 3.129 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.291e-05/0.5014, allocations: 34.75 kB / 0.7183 GB, free: 3.086 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.5014, allocations: 8.891 kB / 0.7183 GB, free: 3.078 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.5015, allocations: 113.4 kB / 0.7184 GB, free: 2.941 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.5015, allocations: 4 kB / 0.7184 GB, free: 2.938 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.5015, allocations: 0 / 0.7184 GB, free: 2.938 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.5017, allocations: 97.53 kB / 0.7185 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.5017, allocations: 0 / 0.7185 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.5017, allocations: 3.984 kB / 0.7185 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.5017, allocations: 4 kB / 0.7185 GB, free: 2.828 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.5018, allocations: 67.95 kB / 0.7186 GB, free: 2.762 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.5023, allocations: 287.8 kB / 0.7188 GB, free: 2.438 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.265e-05/0.5024, allocations: 42.5 kB / 0.7189 GB, free: 2.387 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.5024, allocations: 16.8 kB / 0.7189 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.5026, allocations: 32.09 kB / 0.7189 GB, free: 2.336 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.768e-05/0.5026, allocations: 34.56 kB / 0.719 GB, free: 2.293 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.5026, allocations: 0 / 0.719 GB, free: 2.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=5): time 0.000194/0.5028, allocations: 69.62 kB / 0.719 GB, free: 2.219 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.5028, allocations: 55.52 kB / 0.7191 GB, free: 2.152 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.068e-05/0.5029, allocations: 109.8 kB / 0.7192 GB, free: 2.035 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.5029, allocations: 29.69 kB / 0.7192 GB, free: 2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.553e-05/0.503, allocations: 96.03 kB / 0.7193 GB, free: 1.902 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.503, allocations: 15.84 kB / 0.7193 GB, free: 1.887 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.5031, allocations: 25.67 kB / 0.7193 GB, free: 1.855 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5032, allocations: 314.8 kB / 0.7196 GB, free: 1.539 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.862e-05/0.5032, allocations: 12 kB / 0.7197 GB, free: 1.527 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.147e-05/0.5033, allocations: 43.42 kB / 0.7197 GB, free: 1.473 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.094e-05/0.5034, allocations: 55.36 kB / 0.7197 GB, free: 1.406 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.5034, allocations: 0.5 kB / 0.7197 GB, free: 1.406 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.00014/0.5035, allocations: 85.61 kB / 0.7198 GB, free: 1.316 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.5035, allocations: 8 kB / 0.7198 GB, free: 1.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.5035, allocations: 4 kB / 0.7198 GB, free: 1.305 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.5035, allocations: 4 kB / 0.7198 GB, free: 1.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.677e-05/0.5036, allocations: 11.94 kB / 0.7199 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.5036, allocations: 4 kB / 0.7199 GB, free: 1.285 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.5036, allocations: 0 / 0.7199 GB, free: 1.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.5037, allocations: 4 kB / 0.7199 GB, free: 1.281 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 9.067e-05/0.5038, allocations: 125.9 kB / 0.72 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.5038, allocations: 11.89 kB / 0.72 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.504, allocations: 77.3 kB / 0.7201 GB, free: 1.055 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.504, allocations: 4 kB / 0.7201 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.504, allocations: 0 / 0.7201 GB, free: 1.051 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.504, allocations: 3.984 kB / 0.7201 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.5042, allocations: 144.7 kB / 0.7202 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.5042, allocations: 7.984 kB / 0.7202 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.5042, allocations: 4 kB / 0.7202 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.5042, allocations: 0 / 0.7202 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.5042, allocations: 4 kB / 0.7202 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5042, allocations: 0 / 0.7202 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5042, allocations: 0 / 0.7202 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.5043, allocations: 155.4 kB / 0.7204 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.5044, allocations: 11.92 kB / 0.7204 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.5044, allocations: 0 / 0.7204 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.022e-05/0.5044, allocations: 8 kB / 0.7204 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.5044, allocations: 7.938 kB / 0.7204 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.022e-06/0.5044, allocations: 0 / 0.7204 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.55e-05/0.5045, allocations: 87.39 kB / 0.7205 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.5045, allocations: 0 / 0.7205 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005086/0.505, allocations: 151.5 kB / 0.7206 GB, free: 428 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.00111/0.5061, allocations: 0.9187 MB / 0.7215 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.5062, allocations: 35.92 kB / 0.7216 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5062, allocations: 0 / 0.7216 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.924e-05/0.5063, allocations: 15.94 kB / 0.7216 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.5066, allocations: 22.2 kB / 0.7216 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/0.5072, allocations: 265.7 kB / 0.7219 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.5075, allocations: 0.6846 MB / 0.7225 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.684e-05/0.5076, allocations: 20.08 kB / 0.7225 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.5076, allocations: 23.42 kB / 0.7226 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.5076, allocations: 0 / 0.7226 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02531/0.5329, allocations: 5.14 MB / 0.7276 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/11.2, allocations: 10.02 kB / 0.7276 GB, free: 9.309 MB / 0.5606 GB " [Timeout remaining time 649] (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.322002583998255]