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.001528/0.001528, allocations: 95.5 kB / 21.2 MB, free: 3.359 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.001049/0.001049, allocations: 156.5 kB / 24.55 MB, free: 4 kB / 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.9575/0.9575, allocations: 177 MB / 204.8 MB, free: 5.562 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.683e-06/1.683e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.624e-05, allocations: 9.266 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004537/0.004563, allocations: 4.632 MB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.005921, allocations: 1.802 MB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.005974, allocations: 4 kB / 279.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.006206, allocations: 39.69 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002853/0.006492, allocations: 139 kB / 279.5 MB, free: 10.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000408/0.0069, allocations: 247.2 kB / 279.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.007153, allocations: 298.8 kB / 280 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.007192, allocations: 9.297 kB / 280.1 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002527/0.007445, allocations: 183.4 kB / 280.2 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.102e-05/0.007536, allocations: 71.78 kB / 280.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.092e-05/0.007556, allocations: 8 kB / 280.3 MB, free: 10 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.007718, allocations: 83.94 kB / 280.4 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.637e-05/0.007785, allocations: 39.83 kB / 280.4 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.007844, allocations: 63.89 kB / 280.5 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.008107, allocations: 211.3 kB / 280.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.00811, allocations: 0 / 280.7 MB, free: 9.613 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.008111, allocations: 4 kB / 280.7 MB, free: 9.609 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.008117, allocations: 0 / 280.7 MB, free: 9.609 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.0006871/0.008804, allocations: 0.5001 MB / 281.2 MB, free: 9.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.008841, allocations: 15.98 kB / 281.2 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.008988, allocations: 44.66 kB / 281.3 MB, free: 9.012 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.009156, allocations: 152.5 kB / 281.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.009168, allocations: 12.66 kB / 281.4 MB, free: 8.824 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.009201, allocations: 20.31 kB / 281.4 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.009515, allocations: 377.6 kB / 281.8 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.009527, allocations: 192 / 281.8 MB, free: 8.367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.009548, allocations: 12.12 kB / 281.8 MB, free: 8.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.009557, allocations: 4 kB / 281.8 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.009693, allocations: 99.8 kB / 281.9 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008868/0.01058, allocations: 1.095 MB / 283 MB, free: 7.098 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.01079, allocations: 123.3 kB / 283.1 MB, free: 6.965 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.349e-05/0.01084, allocations: 43.55 kB / 283.2 MB, free: 6.918 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/0.01147, allocations: 404 kB / 283.6 MB, free: 6.504 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.0115, allocations: 37.39 kB / 283.6 MB, free: 6.457 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.0115, allocations: 0 / 283.6 MB, free: 6.457 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.001085/0.01258, allocations: 0.565 MB / 284.2 MB, free: 5.855 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.01261, allocations: 55.41 kB / 284.2 MB, free: 5.789 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.01272, allocations: 225.6 kB / 284.5 MB, free: 5.551 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.01273, allocations: 29.7 kB / 284.5 MB, free: 5.516 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.0128, allocations: 186.9 kB / 284.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.01284, allocations: 75.36 kB / 284.7 MB, free: 5.25 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.815e-05/0.01291, allocations: 67.31 kB / 284.8 MB, free: 5.176 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.01302, allocations: 0.4962 MB / 285.3 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/0.01309, allocations: 55.95 kB / 285.4 MB, free: 4.613 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.01323, allocations: 210.6 kB / 285.6 MB, free: 4.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/0.01345, allocations: 270.8 kB / 285.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.01345, allocations: 0 / 285.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003153/0.01377, allocations: 280.5 kB / 286.1 MB, free: 3.73 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.01378, allocations: 6.656 kB / 286.1 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.01379, allocations: 4 kB / 286.1 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.01381, allocations: 11.94 kB / 286.1 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.014, allocations: 80.36 kB / 286.2 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.01401, allocations: 7.938 kB / 286.2 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.775e-05/0.0141, allocations: 12 kB / 286.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.01412, allocations: 19.98 kB / 286.2 MB, free: 3.594 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.732e-05/0.01422, allocations: 172.5 kB / 286.4 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.887e-05/0.01426, allocations: 19.95 kB / 286.4 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002803/0.01454, allocations: 189.4 kB / 286.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01454, allocations: 3.938 kB / 286.6 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.01455, allocations: 8 kB / 286.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.01455, allocations: 15.86 kB / 286.6 MB, free: 3.176 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005588/0.01511, allocations: 0.5196 MB / 287.2 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.01512, allocations: 3.984 kB / 287.2 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000124/0.01524, allocations: 43.97 kB / 287.2 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.01524, allocations: 8.125 kB / 287.2 MB, free: 2.543 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.01526, allocations: 8 kB / 287.2 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.01526, allocations: 3.938 kB / 287.2 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.01526, allocations: 4 kB / 287.2 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003123/0.01558, allocations: 389.8 kB / 287.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.106e-05/0.01562, allocations: 27.89 kB / 287.6 MB, free: 2.086 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.01564, allocations: 7.984 kB / 287.6 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.094e-05/0.01573, allocations: 8 kB / 287.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.358e-05/0.01575, allocations: 23.94 kB / 287.7 MB, free: 2.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.01577, allocations: 12 kB / 287.7 MB, free: 2.035 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.631e-05/0.01582, allocations: 153.3 kB / 287.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01582, allocations: 0 / 287.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.01606, allocations: 63.94 kB / 287.9 MB, free: 1.824 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.0001719/0.01624, allocations: 123.1 kB / 288 MB, free: 1.695 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002658/0.0165, allocations: 183.3 kB / 288.2 MB, free: 1.512 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.0165, allocations: 0 / 288.2 MB, free: 1.512 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.025e-05/0.01658, allocations: 72.72 kB / 288.3 MB, free: 1.438 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.01687, allocations: 48 kB / 288.3 MB, free: 1.391 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.01789, allocations: 427.1 kB / 288.7 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.723e-05/0.01794, allocations: 76.33 kB / 288.8 MB, free: 0.832 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001253/0.01806, allocations: 49.92 kB / 288.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.01813, allocations: 20.5 kB / 288.9 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01813, allocations: 0 / 288.9 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of Templates: time 0.004654/0.02279, allocations: 2.72 MB / 291.6 MB, free: 14.08 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 -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.9446625700220466]