Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 123.9 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.6 MB / 249.1 MB, free: 3.586 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 56.03 kB / 365.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09059/0.09208, allocations: 52.15 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3356/0.4277, allocations: 149.6 MB / 0.5541 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002971/0.4306, allocations: 2.535 MB / 0.5566 GB, free: 14.06 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.604e-05/0.4307, allocations: 0 / 0.5566 GB, free: 14.06 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.4308, allocations: 27.83 kB / 0.5566 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008793/0.4317, allocations: 321 kB / 0.5569 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.4319, allocations: 59.75 kB / 0.557 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.432, allocations: 83.52 kB / 0.5571 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.4321, allocations: 0 / 0.5571 GB, free: 13.58 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.637e-05/0.4322, allocations: 35.86 kB / 0.5571 GB, free: 13.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.4322, allocations: 27.91 kB / 0.5571 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.824e-06/0.4322, allocations: 7.938 kB / 0.5571 GB, free: 13.51 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007028/0.4329, allocations: 359.5 kB / 0.5575 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.468e-05/0.4329, allocations: 8 kB / 0.5575 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.433, allocations: 31.84 kB / 0.5575 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004843/0.4335, allocations: 303.6 kB / 0.5578 GB, free: 12.83 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4335, allocations: 0 / 0.5578 GB, free: 12.83 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4335, allocations: 0 / 0.5578 GB, free: 12.83 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.4335, allocations: 0 / 0.5578 GB, free: 12.83 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.0008984/0.4344, allocations: 434.9 kB / 0.5582 GB, free: 12.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.4344, allocations: 12.02 kB / 0.5582 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.066e-05/0.4345, allocations: 38.75 kB / 0.5583 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005586/0.4401, allocations: 456.7 kB / 0.5587 GB, free: 11.86 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.4402, allocations: 167.9 kB / 0.5589 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.4402, allocations: 11.94 kB / 0.5589 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.128e-05/0.4403, allocations: 8 kB / 0.5589 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007569/0.441, allocations: 301.9 kB / 0.5592 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.441, allocations: 3.938 kB / 0.5592 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.848e-05/0.4411, allocations: 0 / 0.5592 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4411, allocations: 0 / 0.5592 GB, free: 11.33 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007766/0.4419, allocations: 279.8 kB / 0.5594 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001021/0.4429, allocations: 438.4 kB / 0.5598 GB, free: 10.58 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009619/0.4438, allocations: 194.3 kB / 0.56 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.444, allocations: 68.81 kB / 0.5601 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.4441, allocations: 4 kB / 0.5601 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.4441, allocations: 30.56 kB / 0.5601 GB, free: 10.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.4441, allocations: 0 / 0.5601 GB, free: 10.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001664/0.4457, allocations: 428.1 kB / 0.5605 GB, free: 9.844 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.4458, allocations: 59.41 kB / 0.5606 GB, free: 9.773 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.909e-05/0.4459, allocations: 101.8 kB / 0.5607 GB, free: 9.664 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/0.4459, allocations: 29.7 kB / 0.5607 GB, free: 9.629 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.446, allocations: 95.98 kB / 0.5608 GB, free: 9.531 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.603e-05/0.446, allocations: 63.47 kB / 0.5609 GB, free: 9.469 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/0.4461, allocations: 41.69 kB / 0.5609 GB, free: 9.422 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4462, allocations: 318.8 kB / 0.5612 GB, free: 9.102 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.4465, allocations: 84.44 kB / 0.5613 GB, free: 9.02 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002806/0.4468, allocations: 116.1 kB / 0.5614 GB, free: 8.891 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005296/0.4473, allocations: 204.2 kB / 0.5616 GB, free: 8.676 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.4473, allocations: 0 / 0.5616 GB, free: 8.676 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006377/0.448, allocations: 240.3 kB / 0.5618 GB, free: 8.438 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.448, allocations: 8 kB / 0.5618 GB, free: 8.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.448, allocations: 3.938 kB / 0.5618 GB, free: 8.426 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.448, allocations: 4 kB / 0.5619 GB, free: 8.422 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.4484, allocations: 60.02 kB / 0.5619 GB, free: 8.363 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.4484, allocations: 3.984 kB / 0.5619 GB, free: 8.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002533/0.4486, allocations: 12.48 kB / 0.5619 GB, free: 8.348 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.4487, allocations: 12 kB / 0.5619 GB, free: 8.336 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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.0001111/0.4488, allocations: 121.7 kB / 0.5621 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.4488, allocations: 7.953 kB / 0.5621 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007697/0.4496, allocations: 282.5 kB / 0.5623 GB, free: 7.922 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.984e-06/0.4496, allocations: 4 kB / 0.5623 GB, free: 7.918 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4496, allocations: 0.5 kB / 0.5623 GB, free: 7.918 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.4496, allocations: 3.938 kB / 0.5623 GB, free: 7.914 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001233/0.4508, allocations: 0.5717 MB / 0.5629 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4509, allocations: 7.25 kB / 0.5629 GB, free: 7.277 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.4512, allocations: 47.95 kB / 0.5629 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4512, allocations: 0 / 0.5629 GB, free: 7.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.4512, allocations: 7.938 kB / 0.563 GB, free: 7.223 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.4512, allocations: 3.938 kB / 0.563 GB, free: 7.219 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.4512, allocations: 7.984 kB / 0.563 GB, free: 7.211 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000641/0.4519, allocations: 327.6 kB / 0.5633 GB, free: 6.871 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.4519, allocations: 89.06 kB / 0.5634 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.4519, allocations: 0 / 0.5634 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.4522, allocations: 19.92 kB / 0.5634 GB, free: 6.746 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.4522, allocations: 11.98 kB / 0.5634 GB, free: 6.734 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.4523, allocations: 15.98 kB / 0.5634 GB, free: 6.719 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.36e-05/0.4523, allocations: 83.22 kB / 0.5635 GB, free: 6.637 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4523, allocations: 0 / 0.5635 GB, free: 6.637 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000333/0.4527, allocations: 40 kB / 0.5635 GB, free: 6.598 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (18): * Single equations (assignments): 18 * 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.001079/0.4537, allocations: 0.8972 MB / 0.5644 GB, free: 5.668 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006079/0.4543, allocations: 198.6 kB / 0.5646 GB, free: 5.477 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4543, allocations: 0 / 0.5646 GB, free: 5.477 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.4546, allocations: 95.81 kB / 0.5647 GB, free: 5.383 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.4551, allocations: 41.25 kB / 0.5647 GB, free: 5.348 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009892/0.4561, allocations: 312.8 kB / 0.565 GB, free: 4.996 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.4564, allocations: 0.6928 MB / 0.5657 GB, free: 4.277 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002706/0.4566, allocations: 57.3 kB / 0.5658 GB, free: 4.223 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.4568, allocations: 43.41 kB / 0.5658 GB, free: 4.18 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4568, allocations: 0 / 0.5658 GB, free: 4.18 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02673/0.4835, allocations: 4.358 MB / 0.57 GB, free: 15.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.733/8.217, allocations: 1.969 kB / 0.5701 GB, free: 15.91 MB / 478.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_IdealGasH2O.fmu > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 10.375539741013199]