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.0008984/0.0008984, allocations: 82.59 kB / 21.42 MB, free: 3.07 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.001434/0.001434, allocations: 170.1 kB / 24.82 MB, free: 9.277 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 1.012/1.012, allocations: 177 MB / 205.1 MB, free: 5.453 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.614e-06/1.614e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.259e-05, allocations: 3.719 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005211/0.005234, allocations: 4.597 MB / 277.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.006844, allocations: 1.798 MB / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.456e-05/0.006929, allocations: 0 / 279.7 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.007167, allocations: 43.69 kB / 279.7 MB, free: 10.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003471/0.007514, allocations: 135 kB / 279.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.008032, allocations: 251.3 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003002/0.008332, allocations: 294.7 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.699e-05/0.008369, allocations: 13.28 kB / 280.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.008636, allocations: 171.5 kB / 280.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.219e-05/0.008728, allocations: 75.72 kB / 280.7 MB, free: 9.836 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.639e-05/0.008755, allocations: 8 kB / 280.7 MB, free: 9.828 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001864/0.008941, allocations: 87.94 kB / 280.8 MB, free: 9.742 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.009001, allocations: 47.8 kB / 280.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.487e-05/0.009056, allocations: 55.91 kB / 280.9 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.009327, allocations: 215.3 kB / 281.1 MB, free: 9.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.009329, allocations: 4 kB / 281.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.00933, allocations: 0 / 281.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.928e-06/0.009334, allocations: 0 / 281.1 MB, free: 9.426 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.0006271/0.009961, allocations: 0.5001 MB / 281.6 MB, free: 8.887 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.009996, allocations: 15.98 kB / 281.6 MB, free: 8.871 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.01012, allocations: 40.72 kB / 281.6 MB, free: 8.832 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.01033, allocations: 156.4 kB / 281.8 MB, free: 8.652 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.01035, allocations: 8.656 kB / 281.8 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.01039, allocations: 20.38 kB / 281.8 MB, free: 8.625 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/0.01076, allocations: 357.6 kB / 282.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.01078, allocations: 192 / 282.2 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.01081, allocations: 16.12 kB / 282.2 MB, free: 8.191 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.01082, allocations: 4 kB / 282.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.01096, allocations: 75.84 kB / 282.2 MB, free: 8.113 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/0.01174, allocations: 1.08 MB / 283.3 MB, free: 6.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.0119, allocations: 115.2 kB / 283.4 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.933e-05/0.01193, allocations: 31.67 kB / 283.5 MB, free: 6.82 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003266/0.01226, allocations: 415.9 kB / 283.9 MB, free: 6.395 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.01229, allocations: 41.39 kB / 283.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.01229, allocations: 0 / 283.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009063/0.0132, allocations: 0.5234 MB / 284.4 MB, free: 5.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.01322, allocations: 55.41 kB / 284.5 MB, free: 5.723 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.01333, allocations: 213.7 kB / 284.7 MB, free: 5.496 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.01334, allocations: 37.64 kB / 284.7 MB, free: 5.453 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.988e-05/0.01342, allocations: 190.8 kB / 284.9 MB, free: 5.258 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.2e-05/0.01347, allocations: 71.38 kB / 285 MB, free: 5.188 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.546e-05/0.01354, allocations: 79.27 kB / 285.1 MB, free: 5.102 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.01367, allocations: 0.5 MB / 285.6 MB, free: 4.59 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.01372, allocations: 35.97 kB / 285.6 MB, free: 4.555 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.01384, allocations: 198.7 kB / 285.8 MB, free: 4.293 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.01403, allocations: 254.7 kB / 286.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.01403, allocations: 0 / 286.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002541/0.01429, allocations: 252.5 kB / 286.3 MB, free: 3.727 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.0143, allocations: 7.125 kB / 286.3 MB, free: 3.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.01431, allocations: 4.469 kB / 286.3 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.01432, allocations: 12 kB / 286.3 MB, free: 3.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.0145, allocations: 83.77 kB / 286.4 MB, free: 3.625 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.0145, allocations: 8 kB / 286.4 MB, free: 3.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.204e-05/0.01459, allocations: 15.98 kB / 286.4 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.01461, allocations: 8 kB / 286.4 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 8.367e-05/0.01469, allocations: 172.5 kB / 286.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.798e-05/0.01473, allocations: 27.84 kB / 286.6 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.01495, allocations: 170.7 kB / 286.8 MB, free: 3.211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.01496, allocations: 3.938 kB / 286.8 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.01496, allocations: 11.92 kB / 286.8 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.01496, allocations: 0 / 286.8 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/0.01548, allocations: 495.5 kB / 287.3 MB, free: 2.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.01549, allocations: 4 kB / 287.3 MB, free: 2.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.01561, allocations: 59.97 kB / 287.4 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.01561, allocations: 0 / 287.4 MB, free: 2.602 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.01563, allocations: 11.98 kB / 287.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.01563, allocations: 0 / 287.4 MB, free: 2.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01563, allocations: 4 kB / 287.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.01591, allocations: 362.8 kB / 287.7 MB, free: 2.195 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.01596, allocations: 27.92 kB / 287.8 MB, free: 2.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.01597, allocations: 4 kB / 287.8 MB, free: 2.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.339e-05/0.01607, allocations: 12.03 kB / 287.8 MB, free: 2.152 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.131e-05/0.01609, allocations: 15.97 kB / 287.8 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.0161, allocations: 11.98 kB / 287.8 MB, free: 2.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.183e-05/0.01616, allocations: 145.4 kB / 287.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01616, allocations: 0 / 287.9 MB, free: 1.984 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.01641, allocations: 63.94 kB / 288 MB, free: 1.922 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.000158/0.01657, allocations: 135.1 kB / 288.1 MB, free: 1.781 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.01676, allocations: 151.9 kB / 288.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01677, allocations: 0 / 288.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003046/0.01707, allocations: 76.69 kB / 288.4 MB, free: 1.551 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.01733, allocations: 55.89 kB / 288.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.01839, allocations: 422.6 kB / 288.8 MB, free: 1.039 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.589e-05/0.01844, allocations: 68.34 kB / 288.9 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000179/0.01862, allocations: 41.94 kB / 288.9 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.01883, allocations: 126.1 kB / 289.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.01883, allocations: 0 / 289.1 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of Templates: time 0.006539/0.02537, allocations: 3.018 MB / 292.1 MB, free: 13.79 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.67245907522738]