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.008632/0.008632, allocations: 1.784 MB / 21.64 MB, free: 2.816 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.6315/0.6315, 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.08686/0.08686, allocations: 18.22 MB / 177.5 MB, free: 11.3 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.001404/0.001404, allocations: 94.64 kB / 188.1 MB, free: 0.6797 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.001812/0.001812, allocations: 161.5 kB / 191.5 MB, free: 5.598 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.9404/0.9404, allocations: 177.2 MB / 371.9 MB, free: 12.97 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.002763/0.002763, allocations: 0.5416 MB / 429 MB, free: 4.281 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 2.004e-06/2.004e-06, allocations: 0 / 450.5 MB, free: 14.4 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.594e-05, allocations: 9.406 kB / 450.5 MB, free: 14.39 MB / 410.8 MB Notification: Performance of NFInst.instantiate(TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions): time 0.00227/0.002296, allocations: 0.774 MB / 451.3 MB, free: 13.79 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.004706/0.007002, allocations: 3.237 MB / 454.5 MB, free: 10.89 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.00706, allocations: 0.5 kB / 454.5 MB, free: 10.89 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0007103/0.00777, allocations: 137 kB / 454.6 MB, free: 10.76 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.00115/0.00892, allocations: 442.6 kB / 455.1 MB, free: 10.33 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.05e-06/0.008925, allocations: 0 / 455.1 MB, free: 10.33 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 9.594e-05/0.009021, allocations: 47.83 kB / 455.1 MB, free: 10.29 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.00906, allocations: 7.938 kB / 455.1 MB, free: 10.28 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/0.01236, allocations: 0.8237 MB / 455.9 MB, free: 9.777 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.935e-05/0.01241, allocations: 19.92 kB / 456 MB, free: 9.758 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.01242, allocations: 0 / 456 MB, free: 9.758 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.01512, allocations: 1.073 MB / 457 MB, free: 8.82 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.01516, allocations: 16.58 kB / 457.1 MB, free: 8.805 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.86e-05/0.01517, allocations: 11.98 kB / 457.1 MB, free: 8.793 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0009742/0.01615, allocations: 0.6743 MB / 457.7 MB, free: 8.117 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.01615, allocations: 0.9375 kB / 457.7 MB, free: 8.117 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01615, allocations: 0 / 457.7 MB, free: 8.117 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.01616, allocations: 0 / 457.7 MB, free: 8.117 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.0005419/0.0167, allocations: 357.9 kB / 458.1 MB, free: 7.75 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.01674, allocations: 12.56 kB / 458.1 MB, free: 7.738 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.01688, allocations: 8.922 kB / 458.1 MB, free: 7.73 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.01715, allocations: 158.3 kB / 458.3 MB, free: 7.551 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.01716, allocations: 384 / 458.3 MB, free: 7.551 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.01716, allocations: 12.86 kB / 458.3 MB, free: 7.539 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.01731, allocations: 70.48 kB / 458.3 MB, free: 7.457 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.01732, allocations: 0 / 458.3 MB, free: 7.457 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.01732, allocations: 0 / 458.3 MB, free: 7.457 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.01733, allocations: 0.7031 kB / 458.3 MB, free: 7.457 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.088e-05/0.01738, allocations: 17.36 kB / 458.4 MB, free: 7.441 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.511e-05/0.01745, allocations: 70.7 kB / 458.4 MB, free: 7.352 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.593e-05/0.01754, allocations: 65.97 kB / 458.5 MB, free: 7.262 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.884e-05/0.01756, allocations: 22.58 kB / 458.5 MB, free: 7.23 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.01767, allocations: 36.61 kB / 458.6 MB, free: 7.195 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.01769, allocations: 34.56 kB / 458.6 MB, free: 7.152 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 1.923e-06/0.0177, allocations: 1.609 kB / 458.6 MB, free: 7.152 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.000221/0.01792, allocations: 86.84 kB / 458.7 MB, free: 7.062 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.01795, allocations: 107.8 kB / 458.8 MB, free: 6.934 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.01804, allocations: 159.3 kB / 458.9 MB, free: 6.762 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.726e-06/0.01805, allocations: 25.7 kB / 459 MB, free: 6.73 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.209e-05/0.01807, allocations: 80.67 kB / 459 MB, free: 6.648 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.01809, allocations: 11.91 kB / 459.1 MB, free: 6.637 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.264e-05/0.01812, allocations: 31.69 kB / 459.1 MB, free: 6.602 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.01819, allocations: 310.8 kB / 459.4 MB, free: 6.289 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.749e-06/0.0182, allocations: 6.828 kB / 459.4 MB, free: 6.281 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.059e-05/0.01822, allocations: 27.42 kB / 459.4 MB, free: 6.242 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.107e-05/0.01826, allocations: 44.52 kB / 459.5 MB, free: 6.188 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.01827, allocations: 4 kB / 459.5 MB, free: 6.184 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.881e-05/0.01832, allocations: 53.86 kB / 459.5 MB, free: 6.125 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.01834, allocations: 11.94 kB / 459.5 MB, free: 6.113 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01834, allocations: 3.938 kB / 459.5 MB, free: 6.109 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.01835, allocations: 1.562 kB / 459.5 MB, free: 6.109 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.208e-05/0.01839, allocations: 8 kB / 459.5 MB, free: 6.102 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/0.0184, allocations: 4 kB / 459.5 MB, free: 6.098 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.01841, allocations: 0 / 459.5 MB, free: 6.098 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.01842, allocations: 7.984 kB / 459.6 MB, free: 6.09 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 4.571e-05/0.01847, allocations: 113.6 kB / 459.7 MB, free: 5.969 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.878e-06/0.01848, allocations: 8 kB / 459.7 MB, free: 5.961 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.01861, allocations: 97.97 kB / 459.8 MB, free: 5.867 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.01861, allocations: 7.984 kB / 459.8 MB, free: 5.859 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.01861, allocations: 0.75 kB / 459.8 MB, free: 5.859 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.01861, allocations: 0 / 459.8 MB, free: 5.859 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.76e-05/0.01867, allocations: 70.42 kB / 459.8 MB, free: 5.773 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.01867, allocations: 0.625 kB / 459.8 MB, free: 5.773 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.839e-05/0.01869, allocations: 11.98 kB / 459.9 MB, free: 5.762 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.01869, allocations: 0.7188 kB / 459.9 MB, free: 5.762 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-06/0.0187, allocations: 0 / 459.9 MB, free: 5.762 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.0187, allocations: 8.609 kB / 459.9 MB, free: 5.754 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.0187, allocations: 4.719 kB / 459.9 MB, free: 5.75 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.648e-05/0.01876, allocations: 78.78 kB / 460 MB, free: 5.648 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.713e-05/0.01877, allocations: 8.984 kB / 460 MB, free: 5.641 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-06/0.01878, allocations: 8 kB / 460 MB, free: 5.633 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.144e-05/0.01879, allocations: 0 / 460 MB, free: 5.633 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.01881, allocations: 10.66 kB / 460 MB, free: 5.625 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.01881, allocations: 0 / 460 MB, free: 5.625 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.082e-05/0.01884, allocations: 35.66 kB / 460 MB, free: 5.586 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01884, allocations: 1.219 kB / 460 MB, free: 5.586 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002234/0.01907, allocations: 107.7 kB / 460.1 MB, free: 5.48 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.0007475/0.01981, allocations: 466 kB / 460.6 MB, free: 5.152 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.435e-05/0.01988, allocations: 38.27 kB / 460.6 MB, free: 5.113 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.01988, allocations: 1.531 kB / 460.6 MB, free: 5.113 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.199e-05/0.01989, allocations: 12.8 kB / 460.6 MB, free: 5.098 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.052e-05/0.01996, allocations: 11.94 kB / 460.6 MB, free: 5.086 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.02018, allocations: 147.1 kB / 460.8 MB, free: 4.91 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.816e-05/0.02021, allocations: 59.34 kB / 460.8 MB, free: 4.832 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 7.007e-05/0.02028, allocations: 51.78 kB / 460.9 MB, free: 4.785 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.02032, allocations: 59.36 kB / 460.9 MB, free: 4.727 MB / 410.8 MB Notification: Performance of SimCode: time 5.51e-07/0.02032, allocations: 1.094 kB / 460.9 MB, free: 4.727 MB / 410.8 MB Notification: Performance of Templates: time 0.004896/0.02522, allocations: 3.379 MB / 464.3 MB, free: 1.547 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6631782138720155]