Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.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.0009128/0.0009128, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009273/0.0009273, allocations: 162.7 kB / 24.91 MB, free: 8.727 MB / 18.57 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 0.9341/0.9341, allocations: 177 MB / 205.2 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 273.4 MB, free: 1.207 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.532e-05, allocations: 2.312 kB / 273.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006081/0.006106, allocations: 4.668 MB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.008065, allocations: 1.817 MB / 279.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.909e-05/0.008124, allocations: 0 / 279.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.008356, allocations: 51.61 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003148/0.008671, allocations: 127.1 kB / 280.1 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.009191, allocations: 247.3 kB / 280.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003279/0.009519, allocations: 290.7 kB / 280.6 MB, free: 9.988 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.009568, allocations: 21.92 kB / 280.6 MB, free: 9.965 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.009863, allocations: 171.5 kB / 280.8 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.009976, allocations: 71.8 kB / 280.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.01, allocations: 8 kB / 280.8 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.01022, allocations: 99.8 kB / 280.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.01028, allocations: 35.89 kB / 281 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.252e-05/0.01035, allocations: 59.91 kB / 281 MB, free: 9.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.01065, allocations: 211.3 kB / 281.2 MB, free: 9.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.01065, allocations: 0 / 281.2 MB, free: 9.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.01065, allocations: 0 / 281.2 MB, free: 9.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.01066, allocations: 4 kB / 281.2 MB, free: 9.316 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0006845/0.01134, allocations: 392.5 kB / 281.6 MB, free: 8.906 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.01138, allocations: 11.98 kB / 281.6 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.01158, allocations: 40.78 kB / 281.7 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.01177, allocations: 141.6 kB / 281.8 MB, free: 8.691 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.01179, allocations: 12.66 kB / 281.8 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.893e-05/0.01183, allocations: 20.38 kB / 281.9 MB, free: 8.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.01216, allocations: 351.4 kB / 282.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.01218, allocations: 4.188 kB / 282.2 MB, free: 8.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.0122, allocations: 12.12 kB / 282.2 MB, free: 8.238 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.01221, allocations: 4 kB / 282.2 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001482/0.01236, allocations: 66.72 kB / 282.3 MB, free: 8.168 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009319/0.01329, allocations: 0.756 MB / 283 MB, free: 7.375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.01351, allocations: 137.2 kB / 283.2 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.01356, allocations: 28.86 kB / 283.2 MB, free: 7.199 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003894/0.01395, allocations: 342.3 kB / 283.5 MB, free: 6.852 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.01397, allocations: 34.56 kB / 283.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.01398, allocations: 0 / 283.6 MB, free: 6.809 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001828/0.0158, allocations: 0.6131 MB / 284.2 MB, free: 6.164 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.01583, allocations: 55.41 kB / 284.2 MB, free: 6.098 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.01595, allocations: 158.5 kB / 284.4 MB, free: 5.93 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.505e-05/0.01597, allocations: 37.7 kB / 284.4 MB, free: 5.887 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.01604, allocations: 136.1 kB / 284.6 MB, free: 5.746 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.665e-05/0.0161, allocations: 79.34 kB / 284.6 MB, free: 5.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.01619, allocations: 57.64 kB / 284.7 MB, free: 5.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.392e-05/0.01628, allocations: 330.7 kB / 285 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.761e-05/0.01636, allocations: 42.8 kB / 285.1 MB, free: 5.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.01649, allocations: 149.4 kB / 285.2 MB, free: 5.035 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.01672, allocations: 214.5 kB / 285.4 MB, free: 4.777 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.01673, allocations: 0 / 285.4 MB, free: 4.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000296/0.01702, allocations: 208.4 kB / 285.6 MB, free: 4.566 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01704, allocations: 10.81 kB / 285.6 MB, free: 4.559 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01705, allocations: 4 kB / 285.6 MB, free: 4.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.01706, allocations: 4 kB / 285.6 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00029/0.01735, allocations: 87.88 kB / 285.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.01736, allocations: 7.938 kB / 285.7 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.01748, allocations: 12 kB / 285.7 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.01751, allocations: 19.92 kB / 285.8 MB, free: 4.426 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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 9.108e-05/0.0176, allocations: 144.6 kB / 285.9 MB, free: 4.273 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.01765, allocations: 11.98 kB / 285.9 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.01792, allocations: 154.5 kB / 286.1 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.01792, allocations: 4 kB / 286.1 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.01792, allocations: 0 / 286.1 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01793, allocations: 0 / 286.1 MB, free: 4.098 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.01859, allocations: 418 kB / 286.5 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.0186, allocations: 0 / 286.5 MB, free: 3.652 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.01881, allocations: 55.95 kB / 286.5 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.01882, allocations: 0 / 286.5 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.01884, allocations: 7.984 kB / 286.5 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.299e-06/0.01884, allocations: 3.938 kB / 286.5 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.01885, allocations: 7.938 kB / 286.5 MB, free: 3.578 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.01919, allocations: 322.2 kB / 286.9 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.01924, allocations: 15.94 kB / 286.9 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.01928, allocations: 8 kB / 286.9 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.01944, allocations: 11.92 kB / 286.9 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.01947, allocations: 19.92 kB / 286.9 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.01949, allocations: 11.98 kB / 286.9 MB, free: 3.168 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.907e-05/0.01953, allocations: 34.86 kB / 287 MB, free: 3.133 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01953, allocations: 0 / 287 MB, free: 3.133 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003443/0.01987, allocations: 60 kB / 287 MB, free: 3.074 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * 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.0001546/0.02003, allocations: 104.3 kB / 287.1 MB, free: 2.965 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002439/0.02027, allocations: 157.7 kB / 287.3 MB, free: 2.809 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/0.02028, allocations: 4 kB / 287.3 MB, free: 2.805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.085e-05/0.02037, allocations: 56.77 kB / 287.3 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.02068, allocations: 43.89 kB / 287.4 MB, free: 2.703 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.02179, allocations: 435.5 kB / 287.8 MB, free: 2.238 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.206e-05/0.02184, allocations: 68.34 kB / 287.9 MB, free: 2.152 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002015/0.02204, allocations: 53.86 kB / 287.9 MB, free: 2.102 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.02226, allocations: 95.33 kB / 288 MB, free: 2.008 MB / 266.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02226, allocations: 0 / 288 MB, free: 2.008 MB / 266.7 MB Notification: Performance of Templates: time 0.005164/0.02742, allocations: 3.012 MB / 291 MB, free: 15.02 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3903520330786705]