Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001359/0.001359, allocations: 120.1 kB / 18.49 MB, free: 4.559 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.001366/0.001366, allocations: 214.3 kB / 21.46 MB, free: 1.605 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.388/1.388, allocations: 230.4 MB / 254.7 MB, free: 14.84 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 63.89 kB / 373.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09976/0.1018, allocations: 53.37 MB / 427.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2342/0.336, allocations: 50.88 MB / 477.9 MB, free: 9.043 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006571/0.3426, allocations: 5.224 MB / 483.2 MB, free: 4.805 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.3428, allocations: 11.44 kB / 483.2 MB, free: 4.797 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007492/0.3436, allocations: 252.7 kB / 483.4 MB, free: 4.594 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006279/0.3442, allocations: 368.3 kB / 483.8 MB, free: 4.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01931/0.3635, allocations: 7.151 MB / 490.9 MB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.365, allocations: 1.092 MB / 492 MB, free: 14.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002315/0.3652, allocations: 104.8 kB / 492.1 MB, free: 14.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006284/0.3715, allocations: 3.62 MB / 495.8 MB, free: 11.97 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005562/0.372, allocations: 434.6 kB / 496.2 MB, free: 11.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.206e-05/0.3721, allocations: 56 kB / 496.2 MB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0187/0.3908, allocations: 10.11 MB / 0.4945 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003589/0.3912, allocations: 231.4 kB / 0.4947 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005219/0.3917, allocations: 306.8 kB / 0.495 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01445/0.4061, allocations: 5.534 MB / 0.5004 GB, free: 11.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.4061, allocations: 0 / 0.5004 GB, free: 11.29 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4061, allocations: 3.938 kB / 0.5004 GB, free: 11.29 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.153e-05/0.4062, allocations: 0 / 0.5004 GB, free: 11.29 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003678/0.4098, allocations: 1.406 MB / 0.5018 GB, free: 9.824 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.4099, allocations: 8.031 kB / 0.5018 GB, free: 9.816 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.206e-05/0.4099, allocations: 13 kB / 0.5018 GB, free: 9.801 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001078/0.41, allocations: 82.53 kB / 0.5019 GB, free: 9.711 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003684/0.4104, allocations: 64.66 kB / 0.5019 GB, free: 9.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005622/0.4109, allocations: 378.2 kB / 0.5023 GB, free: 9.238 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.132e-05/0.411, allocations: 32.94 kB / 0.5023 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.792e-05/0.4111, allocations: 44 kB / 0.5024 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/0.4124, allocations: 0.5765 MB / 0.5029 GB, free: 8.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.4124, allocations: 4 kB / 0.5029 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.986e-05/0.4125, allocations: 20 kB / 0.503 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.4125, allocations: 8 kB / 0.503 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.4139, allocations: 0.7456 MB / 0.5037 GB, free: 7.801 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01781/0.4317, allocations: 11.96 MB / 0.5154 GB, free: 9.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001346/0.4331, allocations: 0.5078 MB / 0.5159 GB, free: 9.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003897/0.4335, allocations: 250 kB / 0.5161 GB, free: 9.004 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01607/0.4495, allocations: 11.87 MB / 0.5277 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.4496, allocations: 47.56 kB / 0.5277 GB, free: 10.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.194e-06/0.4496, allocations: 0 / 0.5277 GB, free: 10.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006121/0.4557, allocations: 2.122 MB / 0.5298 GB, free: 8.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.4558, allocations: 55.97 kB / 0.5299 GB, free: 8.504 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004046/0.4562, allocations: 319 kB / 0.5302 GB, free: 8.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.047e-05/0.4562, allocations: 41.7 kB / 0.5302 GB, free: 8.133 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.4564, allocations: 204.7 kB / 0.5304 GB, free: 7.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.4566, allocations: 202.3 kB / 0.5306 GB, free: 7.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.4568, allocations: 118.2 kB / 0.5307 GB, free: 7.609 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.457, allocations: 346.8 kB / 0.531 GB, free: 7.262 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.4574, allocations: 237 kB / 0.5313 GB, free: 7.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006953/0.4581, allocations: 347.3 kB / 0.5316 GB, free: 6.656 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.4593, allocations: 0.6034 MB / 0.5322 GB, free: 6.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4593, allocations: 0 / 0.5322 GB, free: 6.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001945/0.4613, allocations: 0.752 MB / 0.5329 GB, free: 5.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.4613, allocations: 11.88 kB / 0.5329 GB, free: 5.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.4613, allocations: 4 kB / 0.5329 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005264/0.4618, allocations: 98.77 kB / 0.533 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.4624, allocations: 135.8 kB / 0.5332 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003054/0.4654, allocations: 3.469 MB / 0.5365 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/0.4658, allocations: 19.98 kB / 0.5366 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/0.4658, allocations: 28 kB / 0.5366 GB, free: 1.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003264/0.4662, allocations: 197.8 kB / 0.5368 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.4665, allocations: 51.7 kB / 0.5368 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.4682, allocations: 0.8112 MB / 0.5376 GB, free: 80 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.4682, allocations: 4 kB / 0.5376 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.4682, allocations: 0 / 0.5376 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001236/0.4694, allocations: 0.7635 MB / 0.5384 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.4717, allocations: 1.302 MB / 0.5396 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.4717, allocations: 4 kB / 0.5396 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000472/0.4722, allocations: 103.8 kB / 0.5397 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009657/0.4731, allocations: 152.7 kB / 0.5399 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.047e-05/0.4732, allocations: 12 kB / 0.5399 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005144/0.4737, allocations: 0.6485 MB / 0.5405 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4737, allocations: 0 / 0.5405 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001799/0.4755, allocations: 0.9173 MB / 0.5414 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.4756, allocations: 116.9 kB / 0.5415 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.982e-05/0.4757, allocations: 12 kB / 0.5416 GB, free: 11.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003924/0.4761, allocations: 19.98 kB / 0.5416 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.4762, allocations: 40.39 kB / 0.5416 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.077e-05/0.4762, allocations: 27.92 kB / 0.5416 GB, free: 11.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003243/0.4766, allocations: 257.9 kB / 0.5419 GB, free: 11.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4766, allocations: 0 / 0.5419 GB, free: 11.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004093/0.4806, allocations: 1.341 MB / 0.5432 GB, free: 10.16 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008708/0.4894, allocations: 3.029 MB / 0.5462 GB, free: 7.098 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001881/0.4912, allocations: 0.7763 MB / 0.5469 GB, free: 6.289 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4912, allocations: 0 / 0.5469 GB, free: 6.289 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006078/0.4918, allocations: 283.1 kB / 0.5472 GB, free: 6.012 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001567/0.4934, allocations: 289.3 kB / 0.5475 GB, free: 5.734 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/0.5035, allocations: 5.323 MB / 0.5527 GB, free: 240 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005727/0.5041, allocations: 0.8326 MB / 0.5535 GB, free: 15.37 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005781/0.5046, allocations: 148.2 kB / 0.5536 GB, free: 15.22 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003062/0.5049, allocations: 155.4 kB / 0.5538 GB, free: 15.07 MB / 478.1 MB Notification: Performance of SimCode: time 1.253e-06/0.5049, allocations: 0 / 0.5538 GB, free: 15.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09474/0.5997, allocations: 50.72 MB / 0.6033 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.33/14.93, allocations: 12.05 kB / 0.6033 GB, free: 12.45 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 40.14012375898892]