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.001709/0.001709, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002155/0.002155, allocations: 216.6 kB / 23.75 MB, free: 4.668 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.001664/0.001664, allocations: 51.91 kB / 377.8 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2479, allocations: 53.36 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4172/0.6651, allocations: 152.7 MB / 0.5701 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.6674, allocations: 2.571 MB / 0.5726 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.17e-05/0.6675, allocations: 0 / 0.5726 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.6677, allocations: 27.91 kB / 0.5726 GB, free: 12.9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009594/0.6686, allocations: 333.2 kB / 0.573 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.6688, allocations: 65.05 kB / 0.573 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.669, allocations: 101.4 kB / 0.5731 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.397e-05/0.669, allocations: 4.391 kB / 0.5731 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.6691, allocations: 46.77 kB / 0.5732 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.69e-05/0.6692, allocations: 43.94 kB / 0.5732 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.6692, allocations: 2.875 kB / 0.5732 GB, free: 12.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007538/0.6699, allocations: 368.5 kB / 0.5736 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.623e-05/0.67, allocations: 10.88 kB / 0.5736 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.67, allocations: 42.14 kB / 0.5736 GB, free: 12.73 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005076/0.6705, allocations: 312.7 kB / 0.5739 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6705, allocations: 0 / 0.5739 GB, free: 12.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6705, allocations: 1.781 kB / 0.5739 GB, free: 12.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.6705, allocations: 2.781 kB / 0.5739 GB, free: 12.71 MB / 462.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.0009308/0.6715, allocations: 392.8 kB / 0.5743 GB, free: 12.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.6715, allocations: 8.578 kB / 0.5743 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.474e-05/0.6716, allocations: 42.77 kB / 0.5743 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005898/0.6775, allocations: 463.7 kB / 0.5748 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.6776, allocations: 119 kB / 0.5749 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.6776, allocations: 12.25 kB / 0.5749 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.592e-05/0.6777, allocations: 4.812 kB / 0.5749 GB, free: 12.21 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006899/0.6784, allocations: 301.2 kB / 0.5752 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.6784, allocations: 0 / 0.5752 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.6785, allocations: 0 / 0.5752 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.6785, allocations: 2.719 kB / 0.5752 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007054/0.6792, allocations: 279 kB / 0.5755 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.6795, allocations: 226.5 kB / 0.5757 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000362/0.6798, allocations: 155 kB / 0.5758 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.68, allocations: 74.7 kB / 0.5759 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.6801, allocations: 8.297 kB / 0.5759 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.6801, allocations: 32.69 kB / 0.5759 GB, free: 11.91 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.6801, allocations: 5.031 kB / 0.576 GB, free: 11.91 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002042/0.6821, allocations: 0.5878 MB / 0.5765 GB, free: 11.84 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.6822, allocations: 53.66 kB / 0.5766 GB, free: 11.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.758e-05/0.6823, allocations: 107.9 kB / 0.5767 GB, free: 11.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.6823, allocations: 28.89 kB / 0.5767 GB, free: 11.64 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.6824, allocations: 86.61 kB / 0.5768 GB, free: 11.56 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.641e-05/0.6824, allocations: 84.88 kB / 0.5769 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/0.6825, allocations: 45.58 kB / 0.5769 GB, free: 11.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.6827, allocations: 322.5 kB / 0.5772 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.683, allocations: 101.1 kB / 0.5773 GB, free: 11.18 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.6832, allocations: 107.5 kB / 0.5774 GB, free: 11.17 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000523/0.6837, allocations: 227.8 kB / 0.5776 GB, free: 11.16 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.6837, allocations: 0 / 0.5776 GB, free: 11.16 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006509/0.6844, allocations: 286.3 kB / 0.5779 GB, free: 11.11 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.6844, allocations: 7.531 kB / 0.5779 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.6844, allocations: 5.641 kB / 0.5779 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.6844, allocations: 3.938 kB / 0.5779 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.6849, allocations: 55.34 kB / 0.578 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.6849, allocations: 2.25 kB / 0.578 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/0.6852, allocations: 17.2 kB / 0.578 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.6852, allocations: 10.33 kB / 0.578 GB, free: 11.1 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.0001535/0.6854, allocations: 128.3 kB / 0.5781 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.6854, allocations: 9.047 kB / 0.5781 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000879/0.6863, allocations: 349.8 kB / 0.5785 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.6863, allocations: 6.531 kB / 0.5785 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6863, allocations: 0 / 0.5785 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.6863, allocations: 2.406 kB / 0.5785 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.6878, allocations: 0.6944 MB / 0.5792 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6878, allocations: 2.531 kB / 0.5792 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.6882, allocations: 66.33 kB / 0.5792 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.6882, allocations: 4.266 kB / 0.5792 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.6882, allocations: 10.41 kB / 0.5792 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.6883, allocations: 4.5 kB / 0.5792 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.6883, allocations: 2.188 kB / 0.5792 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007416/0.689, allocations: 409.6 kB / 0.5796 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.689, allocations: 19.05 kB / 0.5797 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.6891, allocations: 5.375 kB / 0.5797 GB, free: 10.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003333/0.6894, allocations: 19.84 kB / 0.5797 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.6894, allocations: 18.58 kB / 0.5797 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.6895, allocations: 19.44 kB / 0.5797 GB, free: 10.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.057e-05/0.6895, allocations: 88.86 kB / 0.5798 GB, free: 10.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6895, allocations: 2.125 kB / 0.5798 GB, free: 10.29 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.6899, allocations: 57.03 kB / 0.5799 GB, free: 10.29 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.001162/0.6911, allocations: 0.9632 MB / 0.5808 GB, free: 9.562 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006465/0.6917, allocations: 247.1 kB / 0.581 GB, free: 9.547 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6917, allocations: 0 / 0.581 GB, free: 9.547 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.692, allocations: 127 kB / 0.5812 GB, free: 9.539 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/0.6925, allocations: 52.98 kB / 0.5812 GB, free: 9.531 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.696, allocations: 2.115 MB / 0.5833 GB, free: 8.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.6964, allocations: 0.7063 MB / 0.584 GB, free: 7.516 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003374/0.6967, allocations: 65.72 kB / 0.584 GB, free: 7.477 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.6969, allocations: 50.62 kB / 0.5841 GB, free: 7.469 MB / 462.1 MB Notification: Performance of SimCode: time 1.383e-06/0.6969, allocations: 0 / 0.5841 GB, free: 7.469 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03591/0.7328, allocations: 5.917 MB / 0.5899 GB, free: 4.484 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.76, allocations: 2.125 kB / 0.5899 GB, free: 4.484 MB / 462.1 MB " [Timeout remaining time 648] (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: 14.180468781851232]