Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 209.3 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.418/1.418, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 43.92 kB / 377.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.235, allocations: 53.36 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3788/0.6138, allocations: 131.3 MB / 0.5492 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002159/0.616, allocations: 2.257 MB / 0.5514 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.616, allocations: 1.375 kB / 0.5514 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.6161, allocations: 22.75 kB / 0.5514 GB, free: 1.246 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008353/0.617, allocations: 334.2 kB / 0.5517 GB, free: 1.242 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.6171, allocations: 66.16 kB / 0.5518 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.6173, allocations: 106.5 kB / 0.5519 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.6173, allocations: 6.844 kB / 0.5519 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.6174, allocations: 40.52 kB / 0.5519 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.242e-05/0.6175, allocations: 40.78 kB / 0.552 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.124e-05/0.6175, allocations: 3.188 kB / 0.552 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00064/0.6181, allocations: 360.1 kB / 0.5523 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.6181, allocations: 14.66 kB / 0.5523 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.395e-05/0.6182, allocations: 34.06 kB / 0.5524 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.6186, allocations: 313.8 kB / 0.5527 GB, free: 1.215 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6186, allocations: 1.188 kB / 0.5527 GB, free: 1.215 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.6186, allocations: 3.656 kB / 0.5527 GB, free: 1.215 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.6186, allocations: 0 / 0.5527 GB, free: 1.215 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009969/0.6196, allocations: 391.3 kB / 0.553 GB, free: 16.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.6196, allocations: 12.41 kB / 0.553 GB, free: 16.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.6196, allocations: 39.91 kB / 0.5531 GB, free: 16.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005895/0.6255, allocations: 461.9 kB / 0.5535 GB, free: 16.87 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.6256, allocations: 121.8 kB / 0.5536 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.6257, allocations: 4.438 kB / 0.5536 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.288e-05/0.6257, allocations: 10.19 kB / 0.5536 GB, free: 16.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007387/0.6265, allocations: 298.7 kB / 0.5539 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.6265, allocations: 3.719 kB / 0.5539 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.6265, allocations: 6.266 kB / 0.5539 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.6265, allocations: 2.141 kB / 0.5539 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/0.6273, allocations: 275.2 kB / 0.5542 GB, free: 16.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.6275, allocations: 204.5 kB / 0.5544 GB, free: 16.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003425/0.6279, allocations: 153.4 kB / 0.5545 GB, free: 16.49 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.628, allocations: 78.39 kB / 0.5546 GB, free: 16.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.466e-05/0.6281, allocations: 6.359 kB / 0.5546 GB, free: 16.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.6281, allocations: 30.56 kB / 0.5547 GB, free: 16.45 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.512e-06/0.6281, allocations: 0.8438 kB / 0.5547 GB, free: 16.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002065/0.6302, allocations: 0.5886 MB / 0.5552 GB, free: 16.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.6302, allocations: 54.34 kB / 0.5553 GB, free: 16.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.832e-05/0.6303, allocations: 108.3 kB / 0.5554 GB, free: 16.22 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.6303, allocations: 29.98 kB / 0.5554 GB, free: 16.19 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.6303, allocations: 87.17 kB / 0.5555 GB, free: 16.11 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.6304, allocations: 81.92 kB / 0.5556 GB, free: 16.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.6305, allocations: 43.72 kB / 0.5556 GB, free: 16.04 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6307, allocations: 326.6 kB / 0.5559 GB, free: 15.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.6309, allocations: 97.08 kB / 0.556 GB, free: 15.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002508/0.6312, allocations: 104.5 kB / 0.5561 GB, free: 15.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/0.6317, allocations: 228 kB / 0.5563 GB, free: 15.71 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.6317, allocations: 0.9062 kB / 0.5563 GB, free: 15.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006889/0.6324, allocations: 287.3 kB / 0.5566 GB, free: 15.67 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.6324, allocations: 4.812 kB / 0.5566 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.6324, allocations: 0.875 kB / 0.5566 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.6324, allocations: 7.219 kB / 0.5566 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.6329, allocations: 57.06 kB / 0.5567 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.6329, allocations: 1.094 kB / 0.5567 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.6332, allocations: 14 kB / 0.5567 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/0.6332, allocations: 22.22 kB / 0.5567 GB, free: 15.66 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (24): * Single equations (assignments): 24 * Array equations: 0 * 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.0001087/0.6333, allocations: 119.3 kB / 0.5568 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-05/0.6334, allocations: 10.08 kB / 0.5568 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008752/0.6342, allocations: 349.2 kB / 0.5572 GB, free: 15.51 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6342, allocations: 14.73 kB / 0.5572 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.6342, allocations: 1.125 kB / 0.5572 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6342, allocations: 3.906 kB / 0.5572 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.6356, allocations: 0.6597 MB / 0.5578 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6356, allocations: 2.344 kB / 0.5578 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/0.6361, allocations: 63.62 kB / 0.5579 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.6361, allocations: 3.312 kB / 0.5579 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.6361, allocations: 9.688 kB / 0.5579 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.6361, allocations: 5.328 kB / 0.5579 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6361, allocations: 7.438 kB / 0.5579 GB, free: 15.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006894/0.6368, allocations: 410.3 kB / 0.5583 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.6368, allocations: 13.03 kB / 0.5583 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.6368, allocations: 5.75 kB / 0.5583 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003268/0.6372, allocations: 16.34 kB / 0.5584 GB, free: 14.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.544e-05/0.6372, allocations: 24.89 kB / 0.5584 GB, free: 14.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.6372, allocations: 13.59 kB / 0.5584 GB, free: 14.98 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.931e-05/0.6373, allocations: 89.78 kB / 0.5585 GB, free: 14.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6373, allocations: 0 / 0.5585 GB, free: 14.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003775/0.6377, allocations: 53.56 kB / 0.5585 GB, free: 14.91 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * 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.001112/0.6388, allocations: 0.9685 MB / 0.5595 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006336/0.6394, allocations: 248.7 kB / 0.5597 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6394, allocations: 0.875 kB / 0.5597 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.6397, allocations: 129.8 kB / 0.5598 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.6403, allocations: 61.03 kB / 0.5599 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003058/0.6433, allocations: 2.113 MB / 0.562 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.69e-05/0.6434, allocations: 91.53 kB / 0.562 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002685/0.6437, allocations: 54.42 kB / 0.5621 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.6438, allocations: 53.02 kB / 0.5621 GB, free: 12.79 MB / 462.1 MB Notification: Performance of SimCode: time 3.01e-07/0.6438, allocations: 0 / 0.5621 GB, free: 12.79 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03214/0.676, allocations: 6.662 MB / 0.5687 GB, free: 11.57 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/11.23, allocations: 3.5 kB / 0.5687 GB, free: 11.57 MB / 462.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.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: 13.529491994995624]