Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 108.2 kB / 16.41 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 198.7 kB / 19.36 MB, free: 3.73 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 227.2 MB, free: 12.14 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2893/0.2893, allocations: 54.95 MB / 331.5 MB, free: 2.75 MB / 270.1 MB " [Timeout remaining time 179] Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction") translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002329/0.002329, allocations: 78.84 kB / 464.9 MB, free: 316 kB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1884, allocations: 59.59 MB / 0.5122 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002141/0.1907, allocations: 0.5405 MB / 0.5128 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.1923, allocations: 0.9685 MB / 0.5137 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.317e-05/0.1924, allocations: 4 kB / 0.5137 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.726e-05/0.1924, allocations: 3.938 kB / 0.5137 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.057e-06/0.1924, allocations: 0 / 0.5137 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.1929, allocations: 59.75 kB / 0.5138 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.193, allocations: 4 kB / 0.5138 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.839e-05/0.1931, allocations: 7.984 kB / 0.5138 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.778e-05/0.1931, allocations: 4 kB / 0.5138 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.84e-05/0.1931, allocations: 4 kB / 0.5138 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.1931, allocations: 0 / 0.5138 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.1934, allocations: 87.84 kB / 0.5139 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.1934, allocations: 0 / 0.5139 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.1934, allocations: 7.984 kB / 0.5139 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.1936, allocations: 39.95 kB / 0.5139 GB, free: 3.02 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1936, allocations: 0 / 0.5139 GB, free: 3.02 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1936, allocations: 0 / 0.5139 GB, free: 3.02 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1936, allocations: 0 / 0.5139 GB, free: 3.02 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004478/0.1941, allocations: 331.4 kB / 0.5142 GB, free: 2.648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1941, allocations: 8.031 kB / 0.5142 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.1941, allocations: 0.9375 kB / 0.5142 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.1943, allocations: 172.3 kB / 0.5144 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1943, allocations: 384 / 0.5144 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.1943, allocations: 384 / 0.5144 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.1945, allocations: 37.64 kB / 0.5144 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1945, allocations: 0 / 0.5144 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.1945, allocations: 0 / 0.5144 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.1945, allocations: 0 / 0.5144 GB, free: 2.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.754e-05/0.1945, allocations: 8 kB / 0.5145 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1947, allocations: 141.7 kB / 0.5146 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.255e-05/0.1948, allocations: 22.5 kB / 0.5146 GB, free: 2.164 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.548e-05/0.1948, allocations: 12.95 kB / 0.5146 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007631/0.1956, allocations: 0.5583 MB / 0.5152 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.1956, allocations: 34.56 kB / 0.5152 GB, free: 1.418 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 3.527e-06/0.1956, allocations: 0 / 0.5152 GB, free: 1.418 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001734/0.1958, allocations: 45.58 kB / 0.5152 GB, free: 1.367 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.1959, allocations: 51.41 kB / 0.5153 GB, free: 1.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.35e-05/0.196, allocations: 89.86 kB / 0.5154 GB, free: 1.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.196, allocations: 29.7 kB / 0.5154 GB, free: 1.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.196, allocations: 80.14 kB / 0.5155 GB, free: 1.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.074e-05/0.1961, allocations: 4.062 kB / 0.5155 GB, free: 1.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.1961, allocations: 13.72 kB / 0.5155 GB, free: 1.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1963, allocations: 314.8 kB / 0.5158 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.155e-05/0.1963, allocations: 0 / 0.5158 GB, free: 0.75 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.1963, allocations: 0 / 0.5158 GB, free: 0.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.728e-05/0.1963, allocations: 16.8 kB / 0.5158 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.1964, allocations: 0 / 0.5158 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.459e-05/0.1964, allocations: 37.62 kB / 0.5159 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1964, allocations: 12.09 kB / 0.5159 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1965, allocations: 0 / 0.5159 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1965, allocations: 0 / 0.5159 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.873e-05/0.1965, allocations: 4 kB / 0.5159 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.1965, allocations: 3.938 kB / 0.5159 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.251e-05/0.1966, allocations: 0 / 0.5159 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1966, allocations: 4 kB / 0.5159 GB, free: 0.6641 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 9.048e-05/0.1967, allocations: 106.5 kB / 0.516 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.1967, allocations: 3.938 kB / 0.516 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001035/0.1968, allocations: 44.81 kB / 0.516 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1968, allocations: 4 kB / 0.516 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1968, allocations: 0 / 0.516 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1968, allocations: 0 / 0.516 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.197, allocations: 145.7 kB / 0.5162 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.197, allocations: 0 / 0.5162 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.741e-05/0.197, allocations: 7.938 kB / 0.5162 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.197, allocations: 0 / 0.5162 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.197, allocations: 8.016 kB / 0.5162 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.197, allocations: 0 / 0.5162 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.197, allocations: 0 / 0.5162 GB, free: 292 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.54e-05/0.1971, allocations: 69.06 kB / 0.5162 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.1972, allocations: 81.05 kB / 0.5163 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.1972, allocations: 0 / 0.5163 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-06/0.1972, allocations: 3.938 kB / 0.5163 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.1972, allocations: 0 / 0.5163 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1972, allocations: 8.031 kB / 0.5163 GB, free: 92 kB / 398.1 MB Notification: Performance of sorting global known variables: time 4.547e-05/0.1973, allocations: 76.23 kB / 0.5164 GB, free: 16 kB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1973, allocations: 0 / 0.5164 GB, free: 16 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002029/0.1975, allocations: 7.938 kB / 0.5164 GB, free: 8 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0002297/0.1977, allocations: 103.2 kB / 0.5165 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.1978, allocations: 11.94 kB / 0.5165 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1979, allocations: 0 / 0.5165 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.646e-06/0.1979, allocations: 8.062 kB / 0.5165 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.198, allocations: 0 / 0.5165 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.1983, allocations: 84.86 kB / 0.5166 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.1987, allocations: 0.6768 MB / 0.5173 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 1.99e-05/0.1987, allocations: 0 / 0.5173 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.1988, allocations: 7.438 kB / 0.5173 GB, free: 15.05 MB / 414.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1988, allocations: 3.938 kB / 0.5173 GB, free: 15.05 MB / 414.1 MB Notification: Performance of Templates: time 0.002985/0.2018, allocations: 312 kB / 0.5176 GB, free: 14.75 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.makefile [Timeout 660] (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.048229513689876]