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.01286/0.01286, allocations: 1.781 MB / 22.36 MB, free: 2.113 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.5877/0.5877, allocations: 102.5 MB / 128.6 MB, free: 12.32 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.07009/0.07009, allocations: 18.22 MB / 178.7 MB, free: 10.78 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.001124/0.001124, allocations: 88.84 kB / 218 MB, free: 5.852 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.001178/0.001178, allocations: 164.6 kB / 257.3 MB, free: 14.42 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.9293/0.9293, allocations: 177.1 MB / 473.7 MB, free: 11.19 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.003155/0.003155, allocations: 0.5486 MB / 0.5535 GB, free: 3.125 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 1.583e-06/1.583e-06, allocations: 0 / 0.6616 GB, free: 4.359 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.451e-05/3.609e-05, allocations: 2.312 kB / 0.6616 GB, free: 4.355 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(TILMedia_AddOn_Tests.Liquid.LiquidObjectFunctions): time 0.002912/0.002948, allocations: 0.7337 MB / 0.6623 GB, free: 3.617 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.00555/0.008498, allocations: 3.202 MB / 0.6654 GB, free: 400 kB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.008578, allocations: 0 / 0.6654 GB, free: 400 kB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009258/0.009504, allocations: 139.3 kB / 0.6655 GB, free: 260 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.2401/0.2496, allocations: 456.4 kB / 0.666 GB, free: 134.3 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 1.032e-05/0.2496, allocations: 3.5 kB / 0.666 GB, free: 134.3 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.2498, allocations: 44.52 kB / 0.666 GB, free: 134.3 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.2498, allocations: 3.031 kB / 0.666 GB, free: 134.3 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.2523, allocations: 0.8111 MB / 0.6668 GB, free: 134.2 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.2523, allocations: 20.84 kB / 0.6668 GB, free: 134.2 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.2523, allocations: 0 / 0.6668 GB, free: 134.2 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.2543, allocations: 1.054 MB / 0.6679 GB, free: 134.1 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.489e-05/0.2543, allocations: 7.438 kB / 0.6679 GB, free: 134.1 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.699e-05/0.2543, allocations: 14.38 kB / 0.6679 GB, free: 134.1 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006374/0.2549, allocations: 0.6689 MB / 0.6685 GB, free: 134.1 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2549, allocations: 0 / 0.6685 GB, free: 134.1 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2549, allocations: 2.375 kB / 0.6685 GB, free: 134.1 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.255, allocations: 0 / 0.6685 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.0003387/0.2553, allocations: 482.8 kB / 0.669 GB, free: 133.6 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.2553, allocations: 10 kB / 0.669 GB, free: 133.6 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2554, allocations: 16.64 kB / 0.669 GB, free: 133.6 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.2556, allocations: 157.2 kB / 0.6692 GB, free: 133.5 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.095e-06/0.2556, allocations: 3.594 kB / 0.6692 GB, free: 133.5 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-06/0.2556, allocations: 0.9375 kB / 0.6692 GB, free: 133.5 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.2557, allocations: 74.92 kB / 0.6693 GB, free: 133.4 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.2557, allocations: 6.812 kB / 0.6693 GB, free: 133.4 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.2557, allocations: 1.625 kB / 0.6693 GB, free: 133.4 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.2557, allocations: 0 / 0.6693 GB, free: 133.4 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.2558, allocations: 16.23 kB / 0.6693 GB, free: 133.4 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.434e-05/0.2559, allocations: 127.2 kB / 0.6694 GB, free: 133.3 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.493e-05/0.2559, allocations: 86.16 kB / 0.6695 GB, free: 133.2 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.53e-05/0.256, allocations: 32.39 kB / 0.6695 GB, free: 133.1 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-05/0.256, allocations: 10.66 kB / 0.6695 GB, free: 133.1 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.256, allocations: 42.89 kB / 0.6696 GB, free: 133.1 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.256, allocations: 0 / 0.6696 GB, free: 133.1 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3): time 0.0002587/0.2563, allocations: 84.22 kB / 0.6696 GB, free: 133.1 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.2563, allocations: 106.8 kB / 0.6697 GB, free: 132.9 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.436e-05/0.2564, allocations: 204.3 kB / 0.6699 GB, free: 132.8 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-06/0.2564, allocations: 25.7 kB / 0.67 GB, free: 132.7 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.2564, allocations: 137.6 kB / 0.6701 GB, free: 132.6 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.2564, allocations: 7.891 kB / 0.6701 GB, free: 132.6 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.2565, allocations: 33.55 kB / 0.6701 GB, free: 132.6 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.925e-05/0.2565, allocations: 0.4902 MB / 0.6706 GB, free: 132.1 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.706e-06/0.2565, allocations: 3.562 kB / 0.6706 GB, free: 132.1 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.721e-05/0.2565, allocations: 38.52 kB / 0.6707 GB, free: 132 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.2566, allocations: 53.92 kB / 0.6707 GB, free: 132 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2566, allocations: 0.5 kB / 0.6707 GB, free: 132 MB / 0.5262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.797e-05/0.2566, allocations: 61.75 kB / 0.6708 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.2566, allocations: 5.594 kB / 0.6708 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2567, allocations: 0 / 0.6708 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/0.2567, allocations: 3.031 kB / 0.6708 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.485e-05/0.2567, allocations: 12.03 kB / 0.6708 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.896e-06/0.2567, allocations: 6.125 kB / 0.6708 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.2567, allocations: 0 / 0.6708 GB, free: 131.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.2567, allocations: 3 kB / 0.6708 GB, free: 131.9 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 3.897e-05/0.2568, allocations: 161.8 kB / 0.671 GB, free: 131.8 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-06/0.2568, allocations: 7.609 kB / 0.671 GB, free: 131.8 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.2569, allocations: 89.8 kB / 0.671 GB, free: 131.7 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2569, allocations: 4.938 kB / 0.671 GB, free: 131.7 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.2569, allocations: 7.359 kB / 0.6711 GB, free: 131.7 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2569, allocations: 0 / 0.6711 GB, free: 131.7 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.691e-05/0.257, allocations: 109.5 kB / 0.6712 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.257, allocations: 0 / 0.6712 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.257, allocations: 13.2 kB / 0.6712 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.257, allocations: 2.031 kB / 0.6712 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.257, allocations: 3.188 kB / 0.6712 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.257, allocations: 0 / 0.6712 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.257, allocations: 0 / 0.6712 GB, free: 131.6 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.672e-05/0.2571, allocations: 114.6 kB / 0.6713 GB, free: 131.5 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.2571, allocations: 5.062 kB / 0.6713 GB, free: 131.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.058e-05/0.2571, allocations: 9.109 kB / 0.6713 GB, free: 131.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/0.2571, allocations: 0 / 0.6713 GB, free: 131.5 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.164e-05/0.2571, allocations: 6.75 kB / 0.6713 GB, free: 131.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.2571, allocations: 2.781 kB / 0.6713 GB, free: 131.5 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 3.3e-05/0.2572, allocations: 146.5 kB / 0.6714 GB, free: 131.4 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.2572, allocations: 1.188 kB / 0.6714 GB, free: 131.4 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002263/0.2574, allocations: 104 kB / 0.6715 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.0006624/0.2581, allocations: 456.8 kB / 0.672 GB, free: 131.3 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 6.574e-05/0.2581, allocations: 22.59 kB / 0.672 GB, free: 131.2 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2581, allocations: 0 / 0.672 GB, free: 131.2 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-05/0.2581, allocations: 19.72 kB / 0.672 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.0001127/0.2583, allocations: 19.8 kB / 0.672 GB, free: 131.2 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002032/0.2585, allocations: 157.3 kB / 0.6722 GB, free: 131.1 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.065e-05/0.2585, allocations: 60.02 kB / 0.6723 GB, free: 131 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 6.706e-05/0.2585, allocations: 45.97 kB / 0.6723 GB, free: 131 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.2586, allocations: 81.52 kB / 0.6724 GB, free: 130.9 MB / 0.5262 GB Notification: Performance of SimCode: time 3.91e-07/0.2586, allocations: 0 / 0.6724 GB, free: 130.9 MB / 0.5262 GB Notification: Performance of Templates: time 0.004563/0.2631, allocations: 3.409 MB / 0.6757 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.282948459032923]