Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.001293/0.001293, allocations: 120.4 kB / 20.44 MB, free: 1.461 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.001434/0.001434, allocations: 212.1 kB / 23.74 MB, free: 4.695 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.399/1.399, allocations: 230.5 MB / 257.4 MB, free: 8.18 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.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 55.91 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2298, allocations: 53.41 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07794/0.3078, allocations: 66.38 MB / 497.6 MB, free: 4.066 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007107/0.3149, allocations: 5.518 MB / 0.4913 GB, free: 14.53 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.3151, allocations: 7.938 kB / 0.4913 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009614/0.3161, allocations: 361.9 kB / 0.4917 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009221/0.317, allocations: 0.5128 MB / 0.4922 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01749/0.3345, allocations: 7.545 MB / 0.4995 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002077/0.3366, allocations: 1.571 MB / 0.5011 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.3369, allocations: 149.4 kB / 0.5012 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009747/0.3379, allocations: 0.6308 MB / 0.5018 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008999/0.3388, allocations: 0.6112 MB / 0.5024 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.3389, allocations: 84 kB / 0.5025 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01854/0.3574, allocations: 10.48 MB / 0.5127 GB, free: 8.559 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004767/0.3579, allocations: 323.2 kB / 0.513 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006266/0.3585, allocations: 442.3 kB / 0.5135 GB, free: 7.809 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.371, allocations: 5.974 MB / 0.5193 GB, free: 1.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.371, allocations: 0 / 0.5193 GB, free: 1.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.371, allocations: 3.938 kB / 0.5193 GB, free: 1.816 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.419e-05/0.371, allocations: 4 kB / 0.5193 GB, free: 1.812 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003728/0.3748, allocations: 1.537 MB / 0.5208 GB, free: 244 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3748, allocations: 12.03 kB / 0.5208 GB, free: 232 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001357/0.3749, allocations: 110.4 kB / 0.5209 GB, free: 112 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.3754, allocations: 91.5 kB / 0.521 GB, free: 20 kB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/0.3761, allocations: 383.2 kB / 0.5214 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.162e-05/0.3761, allocations: 49.25 kB / 0.5214 GB, free: 15.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001079/0.3762, allocations: 67.95 kB / 0.5215 GB, free: 15.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.3779, allocations: 0.8107 MB / 0.5223 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.3779, allocations: 4 kB / 0.5223 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.687e-05/0.378, allocations: 24 kB / 0.5223 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.378, allocations: 20 kB / 0.5223 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.3799, allocations: 1.036 MB / 0.5233 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.3935, allocations: 4.973 MB / 0.5282 GB, free: 8.414 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.3952, allocations: 0.7108 MB / 0.5289 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.3958, allocations: 391.2 kB / 0.5293 GB, free: 7.312 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.4063, allocations: 2.596 MB / 0.5318 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.4064, allocations: 47.22 kB / 0.5318 GB, free: 4.656 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.434e-06/0.4064, allocations: 4 kB / 0.5318 GB, free: 4.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009265/0.4156, allocations: 3.147 MB / 0.5349 GB, free: 1.477 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.4157, allocations: 60.41 kB / 0.535 GB, free: 1.402 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.4161, allocations: 360.5 kB / 0.5353 GB, free: 1.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.006e-05/0.4162, allocations: 41.7 kB / 0.5354 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.4163, allocations: 241.2 kB / 0.5356 GB, free: 0.7578 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000257/0.4166, allocations: 329.2 kB / 0.5359 GB, free: 444 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002364/0.4168, allocations: 158.6 kB / 0.536 GB, free: 280 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.1754/0.5923, allocations: 359.3 kB / 0.5364 GB, free: 106.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000951/0.5932, allocations: 370.1 kB / 0.5367 GB, free: 106.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.5944, allocations: 494 kB / 0.5372 GB, free: 106.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001658/0.596, allocations: 0.9105 MB / 0.5381 GB, free: 105.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.596, allocations: 4.438 kB / 0.5381 GB, free: 105.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002354/0.5984, allocations: 1.113 MB / 0.5392 GB, free: 105.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.5984, allocations: 6.812 kB / 0.5392 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5984, allocations: 6.656 kB / 0.5392 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007976/0.5992, allocations: 165.9 kB / 0.5394 GB, free: 105.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/0.6, allocations: 197.2 kB / 0.5396 GB, free: 105.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/0.6019, allocations: 3.899 MB / 0.5434 GB, free: 101.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.6023, allocations: 23.03 kB / 0.5434 GB, free: 101.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.031e-05/0.6024, allocations: 52.39 kB / 0.5434 GB, free: 101.4 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 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.0003044/0.6027, allocations: 219 kB / 0.5436 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/0.603, allocations: 67.05 kB / 0.5437 GB, free: 101.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.6052, allocations: 1.275 MB / 0.5449 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6052, allocations: 8.25 kB / 0.545 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.6052, allocations: 1.375 kB / 0.545 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001455/0.6067, allocations: 1.325 MB / 0.5463 GB, free: 99.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/0.6093, allocations: 1.933 MB / 0.5481 GB, free: 98.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.6093, allocations: 9.703 kB / 0.5481 GB, free: 98.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006172/0.61, allocations: 167.7 kB / 0.5483 GB, free: 98.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.6115, allocations: 297.9 kB / 0.5486 GB, free: 98.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.9e-05/0.6116, allocations: 23.66 kB / 0.5486 GB, free: 98.76 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004605/0.612, allocations: 1.295 MB / 0.5499 GB, free: 97.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.612, allocations: 6.594 kB / 0.5499 GB, free: 97.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.614, allocations: 1.418 MB / 0.5513 GB, free: 96.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.6141, allocations: 51.08 kB / 0.5513 GB, free: 96.83 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.744e-05/0.6142, allocations: 23.94 kB / 0.5513 GB, free: 96.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.6147, allocations: 27.69 kB / 0.5514 GB, free: 96.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.6148, allocations: 54.84 kB / 0.5514 GB, free: 96.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.077e-05/0.6149, allocations: 43.2 kB / 0.5515 GB, free: 96.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.6151, allocations: 279.9 kB / 0.5517 GB, free: 96.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6151, allocations: 6.594 kB / 0.5517 GB, free: 96.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003043/0.6181, allocations: 1.424 MB / 0.5531 GB, free: 96.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006891/0.625, allocations: 3.589 MB / 0.5566 GB, free: 94.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001814/0.6268, allocations: 1.115 MB / 0.5577 GB, free: 93.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.6268, allocations: 4 kB / 0.5577 GB, free: 93.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006908/0.6275, allocations: 479 kB / 0.5582 GB, free: 93.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.6292, allocations: 392.3 kB / 0.5586 GB, free: 93.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009194/0.6384, allocations: 7.085 MB / 0.5655 GB, free: 85.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.6387, allocations: 0.9128 MB / 0.5664 GB, free: 84.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006571/0.6393, allocations: 205 kB / 0.5666 GB, free: 84.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002909/0.6396, allocations: 231.3 kB / 0.5668 GB, free: 84.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.282e-06/0.6396, allocations: 0 / 0.5668 GB, free: 84.49 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08898/0.7286, allocations: 57.8 MB / 0.6232 GB, free: 26.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.89/15.62, allocations: 11.91 kB / 0.6232 GB, free: 26.79 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 42.04043914587237]