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.008809/0.008809, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.6414/0.6414, allocations: 102.5 MB / 127.8 MB, free: 12.42 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.09015/0.09015, allocations: 18.23 MB / 177.9 MB, free: 10.75 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.001355/0.001355, allocations: 90.98 kB / 217.2 MB, free: 5.871 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.00126/0.00126, allocations: 157.6 kB / 256.5 MB, free: 14.44 MB / 218.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.9624/0.9624, allocations: 177.1 MB / 472.9 MB, free: 11.17 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.003993/0.003993, allocations: 0.5449 MB / 0.5527 GB, free: 3.141 MB / 426.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.294e-06/2.294e-06, allocations: 0 / 0.6608 GB, free: 4.387 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.382e-05/3.612e-05, allocations: 6.25 kB / 0.6608 GB, free: 4.379 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions): time 0.002349/0.002385, allocations: 0.7231 MB / 0.6615 GB, free: 3.648 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.004721/0.007106, allocations: 3.199 MB / 0.6646 GB, free: 436 kB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.007163, allocations: 4 kB / 0.6646 GB, free: 432 kB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006005/0.007764, allocations: 135.3 kB / 0.6648 GB, free: 296 kB / 0.5262 GB [/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.2399/0.2477, allocations: 462.4 kB / 0.6652 GB, free: 134.3 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 1.028e-05/0.2477, allocations: 0 / 0.6652 GB, free: 134.3 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.2478, allocations: 44.56 kB / 0.6653 GB, free: 134.3 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.2479, allocations: 6.516 kB / 0.6653 GB, free: 134.3 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002548/0.2504, allocations: 0.8067 MB / 0.666 GB, free: 134.2 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.2505, allocations: 25.38 kB / 0.6661 GB, free: 134.2 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.2505, allocations: 3.141 kB / 0.6661 GB, free: 134.2 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.2527, allocations: 1.052 MB / 0.6671 GB, free: 134.1 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.065e-05/0.2528, allocations: 5.938 kB / 0.6671 GB, free: 134.1 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.2528, allocations: 8.25 kB / 0.6671 GB, free: 134.1 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009767/0.2538, allocations: 0.6774 MB / 0.6678 GB, free: 134.1 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2538, allocations: 0.75 kB / 0.6678 GB, free: 134.1 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2538, allocations: 2.562 kB / 0.6678 GB, free: 134.1 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.828e-06/0.2538, allocations: 3.688 kB / 0.6678 GB, free: 134.1 MB / 0.5262 GB 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.0004156/0.2542, allocations: 482.5 kB / 0.6682 GB, free: 133.7 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.2542, allocations: 10.38 kB / 0.6683 GB, free: 133.7 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.2544, allocations: 17.41 kB / 0.6683 GB, free: 133.6 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.2545, allocations: 153.5 kB / 0.6684 GB, free: 133.5 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.2545, allocations: 384 / 0.6684 GB, free: 133.5 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.2545, allocations: 2.25 kB / 0.6684 GB, free: 133.5 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.2547, allocations: 73.64 kB / 0.6685 GB, free: 133.4 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.2547, allocations: 4.625 kB / 0.6685 GB, free: 133.4 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-06/0.2547, allocations: 3.938 kB / 0.6685 GB, free: 133.4 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.2547, allocations: 4.125 kB / 0.6685 GB, free: 133.4 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.796e-05/0.2548, allocations: 17.95 kB / 0.6685 GB, free: 133.4 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001189/0.2549, allocations: 128.4 kB / 0.6686 GB, free: 133.3 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.893e-05/0.255, allocations: 88.97 kB / 0.6687 GB, free: 133.2 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.255, allocations: 31.66 kB / 0.6688 GB, free: 133.2 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.185e-05/0.255, allocations: 14.86 kB / 0.6688 GB, free: 133.2 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.2551, allocations: 43.39 kB / 0.6688 GB, free: 133.1 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.2551, allocations: 0 / 0.6688 GB, free: 133.1 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3): time 0.0002161/0.2553, allocations: 76.28 kB / 0.6689 GB, free: 133.1 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.475e-05/0.2553, allocations: 113.2 kB / 0.669 GB, free: 133 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.969e-05/0.2554, allocations: 207.1 kB / 0.6692 GB, free: 132.8 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.801e-06/0.2554, allocations: 25.7 kB / 0.6692 GB, free: 132.7 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.545e-05/0.2554, allocations: 129.6 kB / 0.6693 GB, free: 132.6 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.919e-05/0.2554, allocations: 11.98 kB / 0.6694 GB, free: 132.6 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.2555, allocations: 31.89 kB / 0.6694 GB, free: 132.6 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.2555, allocations: 496 kB / 0.6699 GB, free: 132.1 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.2555, allocations: 6.125 kB / 0.6699 GB, free: 132.1 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.121e-05/0.2556, allocations: 42.25 kB / 0.6699 GB, free: 132 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.2556, allocations: 45.97 kB / 0.6699 GB, free: 132 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2556, allocations: 3.328 kB / 0.6699 GB, free: 132 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.478e-05/0.2557, allocations: 61.78 kB / 0.67 GB, free: 132 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.2557, allocations: 7.219 kB / 0.67 GB, free: 132 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2557, allocations: 2.609 kB / 0.67 GB, free: 132 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.2557, allocations: 2.875 kB / 0.67 GB, free: 132 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.525e-05/0.2557, allocations: 9.562 kB / 0.67 GB, free: 132 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.2557, allocations: 8.844 kB / 0.67 GB, free: 132 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/0.2558, allocations: 4.438 kB / 0.67 GB, free: 132 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.2558, allocations: 3.375 kB / 0.67 GB, free: 132 MB / 0.5262 GB 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.403e-05/0.2558, allocations: 156.1 kB / 0.6702 GB, free: 131.8 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.112e-05/0.2558, allocations: 9.734 kB / 0.6702 GB, free: 131.8 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.256, allocations: 94.45 kB / 0.6703 GB, free: 131.8 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.256, allocations: 5.594 kB / 0.6703 GB, free: 131.8 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.256, allocations: 7.219 kB / 0.6703 GB, free: 131.8 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.256, allocations: 0 / 0.6703 GB, free: 131.8 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.12e-05/0.2561, allocations: 105.6 kB / 0.6704 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2561, allocations: 0 / 0.6704 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.508e-05/0.2561, allocations: 12.95 kB / 0.6704 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.2561, allocations: 0.5156 kB / 0.6704 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.08e-06/0.2561, allocations: 0 / 0.6704 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.2562, allocations: 5.562 kB / 0.6704 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2562, allocations: 0.8438 kB / 0.6704 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.2563, allocations: 109.6 kB / 0.6705 GB, free: 131.5 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.2563, allocations: 9.75 kB / 0.6705 GB, free: 131.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.2563, allocations: 3.75 kB / 0.6705 GB, free: 131.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.353e-05/0.2563, allocations: 2.375 kB / 0.6705 GB, free: 131.5 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.2563, allocations: 8.25 kB / 0.6706 GB, free: 131.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.024e-06/0.2564, allocations: 3.562 kB / 0.6706 GB, free: 131.5 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.402e-05/0.2564, allocations: 144.9 kB / 0.6707 GB, free: 131.4 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.2564, allocations: 0 / 0.6707 GB, free: 131.4 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0003235/0.2567, allocations: 107.7 kB / 0.6708 GB, free: 131.4 MB / 0.5262 GB 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.0007611/0.2575, allocations: 444 kB / 0.6712 GB, free: 131.3 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 6.999e-05/0.2576, allocations: 31.17 kB / 0.6712 GB, free: 131.3 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.2576, allocations: 0 / 0.6712 GB, free: 131.3 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.306e-05/0.2576, allocations: 22.02 kB / 0.6713 GB, free: 131.2 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001247/0.2577, allocations: 13.3 kB / 0.6713 GB, free: 131.2 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002248/0.2579, allocations: 155.2 kB / 0.6714 GB, free: 131.1 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.919e-05/0.2579, allocations: 62.88 kB / 0.6715 GB, free: 131 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 7.676e-05/0.258, allocations: 45.19 kB / 0.6715 GB, free: 131 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.598e-05/0.2581, allocations: 81.66 kB / 0.6716 GB, free: 131 MB / 0.5262 GB Notification: Performance of SimCode: time 8.72e-07/0.2581, allocations: 2.906 kB / 0.6716 GB, free: 131 MB / 0.5262 GB Notification: Performance of Templates: time 0.005515/0.2636, allocations: 3.407 MB / 0.6749 GB, free: 130.9 MB / 0.5262 GB " [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: 4.401021693833172]