Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.008249/0.008249, allocations: 1.784 MB / 21.64 MB, free: 2.82 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.6221/0.6221, allocations: 102.5 MB / 127.9 MB, free: 12.34 MB / 122.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo): time 0.07327/0.07327, allocations: 18.22 MB / 177.5 MB, free: 11.29 MB / 170.8 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008873/0.0008873, allocations: 95.05 kB / 188.1 MB, free: 0.6719 MB / 170.8 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 161.3 kB / 191.5 MB, free: 5.605 MB / 170.8 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9272/0.9272, allocations: 177.2 MB / 371.9 MB, free: 13.46 MB / 346.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia_AddOn_Tests main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia_AddOn_Tests main/package.mo): time 0.00419/0.00419, allocations: 0.5493 MB / 429 MB, free: 4.438 MB / 394.8 MB " [Timeout remaining time 180] Using package TILMedia_AddOn_Tests with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia_AddOn_Tests main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo) Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50,variableFilter="",fileNamePrefix="TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions") translateModel(TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50,variableFilter="",fileNamePrefix="TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 450.4 MB, free: 14.55 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.239e-05, allocations: 2.312 kB / 450.4 MB, free: 14.55 MB / 410.8 MB Notification: Performance of NFInst.instantiate(TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions): time 0.00137/0.001383, allocations: 0.7241 MB / 451.2 MB, free: 13.98 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.003328/0.004711, allocations: 3.244 MB / 454.4 MB, free: 11.09 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.004769, allocations: 4.844 kB / 454.4 MB, free: 11.08 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0006125/0.005382, allocations: 135.3 kB / 454.5 MB, free: 10.95 MB / 410.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia_AddOn_Tests main/Liquid/LiquidObjectFunctions.mo:29:3-44:11:writable] Warning: Pure function 'TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions.MyF2' contains a call to impure function 'TILMedia.Internals.TILMediaExternalObject.constructor'. Notification: Performance of NFTyping.typeBindings: time 0.0009588/0.006341, allocations: 467.8 kB / 455 MB, free: 10.5 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 3.627e-06/0.006344, allocations: 0 / 455 MB, free: 10.5 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 7.064e-05/0.006415, allocations: 47.84 kB / 455 MB, free: 10.45 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.731e-05/0.006442, allocations: 4.656 kB / 455.1 MB, free: 10.45 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002284/0.008726, allocations: 0.8179 MB / 455.9 MB, free: 9.953 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 3.674e-05/0.008763, allocations: 15.94 kB / 455.9 MB, free: 9.938 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.00877, allocations: 0 / 455.9 MB, free: 9.938 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002448/0.01122, allocations: 1.051 MB / 456.9 MB, free: 9.02 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.531e-05/0.01125, allocations: 12.64 kB / 456.9 MB, free: 9.008 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.01127, allocations: 7.922 kB / 457 MB, free: 9 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0009346/0.01221, allocations: 0.6787 MB / 457.6 MB, free: 8.32 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01221, allocations: 0 / 457.6 MB, free: 8.32 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01221, allocations: 3.938 kB / 457.6 MB, free: 8.316 MB / 410.8 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.01221, allocations: 0.625 kB / 457.6 MB, free: 8.316 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003974/0.01261, allocations: 357.9 kB / 458 MB, free: 7.949 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.01264, allocations: 8.031 kB / 458 MB, free: 7.941 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.6e-05/0.01274, allocations: 17.31 kB / 458 MB, free: 7.93 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.01295, allocations: 152.5 kB / 458.2 MB, free: 7.754 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.01295, allocations: 4.375 kB / 458.2 MB, free: 7.75 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.01296, allocations: 384 / 458.2 MB, free: 7.75 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.01312, allocations: 66.19 kB / 458.2 MB, free: 7.672 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.211e-06/0.01313, allocations: 0 / 458.2 MB, free: 7.672 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.01314, allocations: 4 kB / 458.2 MB, free: 7.668 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.01314, allocations: 3.938 kB / 458.2 MB, free: 7.664 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.796e-05/0.01322, allocations: 17.14 kB / 458.3 MB, free: 7.648 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.203e-05/0.01331, allocations: 74.81 kB / 458.3 MB, free: 7.555 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.01344, allocations: 64.33 kB / 458.4 MB, free: 7.465 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.662e-05/0.01346, allocations: 23.78 kB / 458.4 MB, free: 7.434 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.01361, allocations: 32.62 kB / 458.4 MB, free: 7.402 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.01363, allocations: 38.48 kB / 458.5 MB, free: 7.355 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.01363, allocations: 1.094 kB / 458.5 MB, free: 7.355 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0002963/0.01393, allocations: 83.02 kB / 458.6 MB, free: 7.27 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.01398, allocations: 106.8 kB / 458.7 MB, free: 7.141 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.01409, allocations: 153.5 kB / 458.8 MB, free: 6.973 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.0141, allocations: 25.7 kB / 458.8 MB, free: 6.941 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.07e-05/0.01413, allocations: 84.92 kB / 458.9 MB, free: 6.855 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/0.01416, allocations: 15.84 kB / 458.9 MB, free: 6.84 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.0142, allocations: 26.84 kB / 459 MB, free: 6.809 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.01429, allocations: 310.8 kB / 459.3 MB, free: 6.496 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.01431, allocations: 14.81 kB / 459.3 MB, free: 6.48 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.01434, allocations: 29.69 kB / 459.3 MB, free: 6.441 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.156e-05/0.01439, allocations: 46.17 kB / 459.4 MB, free: 6.383 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.01439, allocations: 0.5938 kB / 459.4 MB, free: 6.383 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.133e-05/0.01447, allocations: 53.67 kB / 459.4 MB, free: 6.324 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.01449, allocations: 6.656 kB / 459.4 MB, free: 6.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01449, allocations: 4.562 kB / 459.4 MB, free: 6.316 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.0145, allocations: 4.516 kB / 459.4 MB, free: 6.312 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/0.01456, allocations: 9.719 kB / 459.4 MB, free: 6.305 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.01456, allocations: 4 kB / 459.4 MB, free: 6.301 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.01459, allocations: 4 kB / 459.5 MB, free: 6.297 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.0146, allocations: 7.984 kB / 459.5 MB, free: 6.289 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 6.157e-05/0.01467, allocations: 109.9 kB / 459.6 MB, free: 6.172 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/0.01468, allocations: 4 kB / 459.6 MB, free: 6.168 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.01485, allocations: 99.91 kB / 459.7 MB, free: 6.07 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01485, allocations: 1.031 kB / 459.7 MB, free: 6.07 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.01486, allocations: 1.547 kB / 459.7 MB, free: 6.07 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.01486, allocations: 3.938 kB / 459.7 MB, free: 6.066 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.252e-05/0.01494, allocations: 74.8 kB / 459.7 MB, free: 5.977 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01494, allocations: 0 / 459.7 MB, free: 5.977 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.01497, allocations: 12.48 kB / 459.8 MB, free: 5.965 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.01497, allocations: 1.562 kB / 459.8 MB, free: 5.965 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.01498, allocations: 0 / 459.8 MB, free: 5.965 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.01498, allocations: 4 kB / 459.8 MB, free: 5.961 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.01498, allocations: 3.938 kB / 459.8 MB, free: 5.957 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.892e-05/0.01506, allocations: 75.38 kB / 459.8 MB, free: 5.859 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.01509, allocations: 11.98 kB / 459.9 MB, free: 5.848 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.156e-05/0.0151, allocations: 5.188 kB / 459.9 MB, free: 5.844 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.089e-05/0.01512, allocations: 0 / 459.9 MB, free: 5.844 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.483e-05/0.01513, allocations: 7.938 kB / 459.9 MB, free: 5.836 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.01514, allocations: 1.062 kB / 459.9 MB, free: 5.836 MB / 410.8 MB Notification: Performance of sorting global known variables: time 4.255e-05/0.01518, allocations: 33.53 kB / 459.9 MB, free: 5.801 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01518, allocations: 0 / 459.9 MB, free: 5.801 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0003701/0.01555, allocations: 112.5 kB / 460 MB, free: 5.691 MB / 410.8 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 (3): * Single equations (assignments): 3 * 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.0009755/0.01653, allocations: 473 kB / 460.5 MB, free: 5.355 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 7.108e-05/0.0166, allocations: 31.17 kB / 460.5 MB, free: 5.324 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.0166, allocations: 5.375 kB / 460.5 MB, free: 5.32 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.727e-05/0.01662, allocations: 12.8 kB / 460.5 MB, free: 5.305 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.431e-05/0.0167, allocations: 7.938 kB / 460.5 MB, free: 5.297 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.01696, allocations: 150.7 kB / 460.7 MB, free: 5.117 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.632e-05/0.01699, allocations: 59.34 kB / 460.7 MB, free: 5.039 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 9.6e-05/0.01709, allocations: 49.17 kB / 460.8 MB, free: 4.996 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.01716, allocations: 63.36 kB / 460.8 MB, free: 4.934 MB / 410.8 MB Notification: Performance of SimCode: time 8.41e-07/0.01716, allocations: 0 / 460.8 MB, free: 4.934 MB / 410.8 MB Notification: Performance of Templates: time 0.006557/0.02372, allocations: 3.38 MB / 464.2 MB, free: 1.762 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions.makefile [Timeout 660] (rm -f TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions.pipe ; mkfifo TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions.pipe ; head -c 1048576 < TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions.pipe >> ../files/TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions.sim & ./TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions -abortSlowSimulation -alarm=240 -lv LOG_STATS > TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.543213419150561]