Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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.001611/0.001611, allocations: 72.06 kB / 21.24 MB, free: 404 kB / 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.002173/0.002173, allocations: 158.3 kB / 24.48 MB, free: 3.465 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.409/1.409, allocations: 173.4 MB / 201 MB, free: 12.7 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: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 48 kB / 319.4 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0826/0.08418, allocations: 52.16 MB / 371.5 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00608/0.09026, allocations: 4.219 MB / 375.8 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002087/0.09234, allocations: 1.615 MB / 377.4 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.829e-05/0.09242, allocations: 4 kB / 377.4 MB, free: 1.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002423/0.09266, allocations: 39.69 kB / 377.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.09304, allocations: 127.2 kB / 377.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.09372, allocations: 247.2 kB / 377.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.09411, allocations: 290.9 kB / 378.1 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.993e-05/0.09416, allocations: 9.297 kB / 378.1 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.09444, allocations: 131.7 kB / 378.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001559/0.0946, allocations: 87.59 kB / 378.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.09463, allocations: 8 kB / 378.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002334/0.09487, allocations: 87.88 kB / 378.4 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.128e-05/0.09495, allocations: 31.91 kB / 378.4 MB, free: 480 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.09506, allocations: 75.7 kB / 378.5 MB, free: 404 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003588/0.09542, allocations: 215.3 kB / 378.7 MB, free: 188 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.09543, allocations: 0 / 378.7 MB, free: 188 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.09543, allocations: 4 kB / 378.7 MB, free: 184 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.09543, allocations: 0 / 378.7 MB, free: 184 kB / 334.1 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.0009719/0.09641, allocations: 417.8 kB / 379.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.09644, allocations: 12.92 kB / 379.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.09664, allocations: 28.83 kB / 379.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.09691, allocations: 142.4 kB / 379.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.09692, allocations: 12.66 kB / 379.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.09696, allocations: 16.33 kB / 379.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005184/0.09748, allocations: 379.8 kB / 379.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.0975, allocations: 4 kB / 379.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.09753, allocations: 8 kB / 379.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.09753, allocations: 7.938 kB / 379.7 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.09792, allocations: 155.8 kB / 379.9 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.09925, allocations: 0.8484 MB / 380.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.09967, allocations: 134.8 kB / 380.8 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001593/0.09983, allocations: 52.83 kB / 380.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004798/0.1003, allocations: 328.1 kB / 381.2 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.1003, allocations: 34.56 kB / 381.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.1003, allocations: 0 / 381.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002665/0.103, allocations: 0.7029 MB / 382 MB, free: 12.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.1031, allocations: 55.41 kB / 382 MB, free: 12.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1032, allocations: 162.3 kB / 382.2 MB, free: 12.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.1032, allocations: 33.7 kB / 382.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.242e-05/0.1033, allocations: 144.1 kB / 382.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.1034, allocations: 71.41 kB / 382.4 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.498e-05/0.1035, allocations: 61.64 kB / 382.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.1036, allocations: 326.8 kB / 382.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002722/0.1039, allocations: 87.94 kB / 382.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.1042, allocations: 194 kB / 383.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.1048, allocations: 296.6 kB / 383.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1048, allocations: 0 / 383.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007543/0.1056, allocations: 321 kB / 383.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1056, allocations: 8.469 kB / 383.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.1056, allocations: 8 kB / 383.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1056, allocations: 4 kB / 383.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004016/0.106, allocations: 83.89 kB / 383.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.1061, allocations: 7.938 kB / 383.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.1063, allocations: 15.98 kB / 383.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.832e-05/0.1063, allocations: 19.98 kB / 383.8 MB, free: 10.69 MB / 350.1 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 0.0001299/0.1065, allocations: 137.7 kB / 383.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.402e-05/0.1065, allocations: 19.91 kB / 384 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006998/0.1072, allocations: 238.5 kB / 384.2 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1072, allocations: 4 kB / 384.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1072, allocations: 3.984 kB / 384.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1072, allocations: 0 / 384.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.1086, allocations: 0.5248 MB / 384.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1086, allocations: 4 kB / 384.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.1089, allocations: 48.08 kB / 384.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.1089, allocations: 8 kB / 384.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.1089, allocations: 4 kB / 384.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.1089, allocations: 7.984 kB / 384.8 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1089, allocations: 7.875 kB / 384.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008931/0.1098, allocations: 407.1 kB / 385.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.1098, allocations: 19.94 kB / 385.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.1099, allocations: 0 / 385.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002505/0.1101, allocations: 15.98 kB / 385.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.1101, allocations: 27.84 kB / 385.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.53e-05/0.1102, allocations: 11.98 kB / 385.3 MB, free: 9.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.678e-05/0.1103, allocations: 110.3 kB / 385.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1103, allocations: 0 / 385.4 MB, free: 9.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003913/0.1106, allocations: 56 kB / 385.4 MB, free: 8.957 MB / 350.1 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.0001992/0.1108, allocations: 131.2 kB / 385.6 MB, free: 8.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006171/0.1115, allocations: 215.9 kB / 385.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1115, allocations: 0 / 385.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002585/0.1117, allocations: 83.88 kB / 385.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.1121, allocations: 40.72 kB / 385.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.1132, allocations: 472.8 kB / 386.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.1133, allocations: 99.28 kB / 386.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002085/0.1135, allocations: 45.94 kB / 386.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.863e-05/0.1136, allocations: 28.48 kB / 386.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1136, allocations: 0 / 386.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of Templates: time 0.006512/0.1201, allocations: 2.701 MB / 389.2 MB, free: 5.141 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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: 4.293671322986484]