Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2804/0.2804, allocations: 54.38 MB / 61.67 MB, free: 11.17 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001294/0.001294, allocations: 188.6 kB / 75.37 MB, free: 1.512 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.368/1.368, allocations: 194.2 MB / 283.2 MB, free: 3.492 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001649/0.001649, allocations: 117.6 kB / 341.3 MB, free: 9.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.293e-06/7.474e-06, allocations: 0 / 405 MB, free: 27.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1447, allocations: 57.65 MB / 462.6 MB, free: 1.961 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4085/0.5533, allocations: 85.01 MB / 0.5348 GB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003314/0.5537, allocations: 75.7 kB / 0.5348 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.005754/0.5595, allocations: 1.487 MB / 0.5363 GB, free: 10.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.156e-06/0.5595, allocations: 0 / 0.5363 GB, free: 10.79 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004111/0.5599, allocations: 353.8 kB / 0.5366 GB, free: 10.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.56, allocations: 15.97 kB / 0.5367 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.5601, allocations: 0 / 0.5367 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.5602, allocations: 163.1 kB / 0.5368 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.5602, allocations: 7.938 kB / 0.5368 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.5603, allocations: 3.906 kB / 0.5368 GB, free: 10.17 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.09e-05/0.5604, allocations: 11.56 kB / 0.5368 GB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.792e-05/0.5605, allocations: 44.69 kB / 0.5369 GB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.5605, allocations: 4 kB / 0.5369 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.5605, allocations: 0 / 0.5369 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.5605, allocations: 0 / 0.5369 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.5607, allocations: 134.2 kB / 0.537 GB, free: 9.949 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.37e-05/0.5608, allocations: 37.77 kB / 0.537 GB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.5609, allocations: 21.2 kB / 0.5371 GB, free: 9.891 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005064/0.5614, allocations: 0.5591 MB / 0.5376 GB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.5614, allocations: 35.19 kB / 0.5376 GB, free: 9.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.5614, allocations: 0 / 0.5376 GB, free: 9.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001051/0.5625, allocations: 341.6 kB / 0.538 GB, free: 8.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.5625, allocations: 55.34 kB / 0.538 GB, free: 8.738 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.9e-05/0.5626, allocations: 89.81 kB / 0.5381 GB, free: 8.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.5626, allocations: 25.7 kB / 0.5381 GB, free: 8.613 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.5627, allocations: 85.02 kB / 0.5382 GB, free: 8.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.5627, allocations: 26.36 kB / 0.5382 GB, free: 8.504 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.62e-06/0.5627, allocations: 0 / 0.5382 GB, free: 8.504 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5629, allocations: 319.9 kB / 0.5385 GB, free: 8.188 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.5629, allocations: 13.56 kB / 0.5386 GB, free: 8.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.36e-05/0.5629, allocations: 18.44 kB / 0.5386 GB, free: 8.168 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.587e-05/0.563, allocations: 26.36 kB / 0.5386 GB, free: 8.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.563, allocations: 0 / 0.5386 GB, free: 8.148 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001832/0.5632, allocations: 86.27 kB / 0.5387 GB, free: 8.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.5633, allocations: 6.031 kB / 0.5387 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.5633, allocations: 0 / 0.5387 GB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.5633, allocations: 8.219 kB / 0.5387 GB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.5634, allocations: 12.62 kB / 0.5387 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.5635, allocations: 0 / 0.5387 GB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.687e-05/0.5635, allocations: 3.938 kB / 0.5387 GB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.5635, allocations: 4.5 kB / 0.5387 GB, free: 8.039 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.46e-05/0.5636, allocations: 117.4 kB / 0.5388 GB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.5636, allocations: 0 / 0.5388 GB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.5639, allocations: 99 kB / 0.5389 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5639, allocations: 256 / 0.5389 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.564, allocations: 0 / 0.5389 GB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.564, allocations: 11.89 kB / 0.5389 GB, free: 7.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.5641, allocations: 145.3 kB / 0.5391 GB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5641, allocations: 0 / 0.5391 GB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.5642, allocations: 12.88 kB / 0.5391 GB, free: 7.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.5643, allocations: 11.98 kB / 0.5391 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.5643, allocations: 0 / 0.5391 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.5643, allocations: 0 / 0.5391 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5643, allocations: 0 / 0.5391 GB, free: 7.629 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000262/0.5646, allocations: 132.7 kB / 0.5392 GB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.5646, allocations: 85 kB / 0.5393 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.5647, allocations: 0 / 0.5393 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.672e-05/0.5647, allocations: 0 / 0.5393 GB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.5648, allocations: 8.062 kB / 0.5393 GB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.5648, allocations: 4 kB / 0.5393 GB, free: 7.395 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.314e-05/0.5648, allocations: 75.28 kB / 0.5394 GB, free: 7.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002705/0.5651, allocations: 35.92 kB / 0.5394 GB, free: 7.285 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003048/0.5654, allocations: 131.2 kB / 0.5395 GB, free: 7.145 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.5656, allocations: 48.56 kB / 0.5396 GB, free: 7.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.5656, allocations: 0 / 0.5396 GB, free: 7.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.437e-05/0.5656, allocations: 26.77 kB / 0.5396 GB, free: 7.094 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001332/0.5658, allocations: 12.06 kB / 0.5396 GB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.5662, allocations: 102.1 kB / 0.5397 GB, free: 6.969 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003626/0.5666, allocations: 0.7035 MB / 0.5404 GB, free: 6.238 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5666, allocations: 0 / 0.5404 GB, free: 6.238 MB / 378.7 MB Notification: Performance of Templates: time 0.003913/0.5706, allocations: 0.9464 MB / 0.5413 GB, free: 5.301 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)