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/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.001484/0.001484, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001533/0.001533, allocations: 189.8 kB / 22.1 MB, free: 5.152 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.551/1.551, allocations: 207.6 MB / 232.8 MB, free: 10.03 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.3192/0.3192, allocations: 55.68 MB / 340.7 MB, free: 13.97 MB / 286.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.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [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.002877/0.002877, allocations: 86.22 kB / 482.1 MB, free: 6.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5336/0.5364, allocations: 62.86 MB / 0.5322 GB, free: 7.871 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001629/0.5381, allocations: 0.5656 MB / 0.5327 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.5392, allocations: 1.056 MB / 0.5338 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.5393, allocations: 1.156 kB / 0.5338 GB, free: 6.746 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.5393, allocations: 3.938 kB / 0.5338 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.11e-05/0.5393, allocations: 0 / 0.5338 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.5397, allocations: 75.33 kB / 0.5338 GB, free: 6.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.044e-05/0.5397, allocations: 19.75 kB / 0.5338 GB, free: 6.699 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.5398, allocations: 5.938 kB / 0.5339 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.905e-05/0.5398, allocations: 10.11 kB / 0.5339 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.5399, allocations: 14.84 kB / 0.5339 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.5399, allocations: 1.062 kB / 0.5339 GB, free: 6.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000176/0.54, allocations: 93.44 kB / 0.534 GB, free: 6.656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.5401, allocations: 6.344 kB / 0.534 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.5401, allocations: 7.859 kB / 0.534 GB, free: 6.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.5402, allocations: 64.59 kB / 0.534 GB, free: 6.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.5402, allocations: 0 / 0.534 GB, free: 6.629 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.5402, allocations: 5.094 kB / 0.534 GB, free: 6.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.489e-06/0.5402, allocations: 0 / 0.534 GB, free: 6.625 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003448/0.5406, allocations: 269.6 kB / 0.5343 GB, free: 6.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.5406, allocations: 8.812 kB / 0.5343 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.223e-05/0.5406, allocations: 3.812 kB / 0.5343 GB, free: 6.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.359e-05/0.5407, allocations: 105.4 kB / 0.5344 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-06/0.5407, allocations: 1.438 kB / 0.5344 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.5407, allocations: 6.562 kB / 0.5344 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001032/0.5408, allocations: 49.88 kB / 0.5345 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.5408, allocations: 0 / 0.5345 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.5408, allocations: 1.125 kB / 0.5345 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5409, allocations: 1.062 kB / 0.5345 GB, free: 6.184 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.5409, allocations: 18.22 kB / 0.5345 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.541, allocations: 125.8 kB / 0.5346 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.492e-05/0.5411, allocations: 39.66 kB / 0.5346 GB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.251e-05/0.5412, allocations: 27.72 kB / 0.5347 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/0.5414, allocations: 33.59 kB / 0.5347 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.5414, allocations: 32.12 kB / 0.5347 GB, free: 5.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.5414, allocations: 0 / 0.5347 GB, free: 5.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001624/0.543, allocations: 391.7 kB / 0.5351 GB, free: 5.695 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.5431, allocations: 53.42 kB / 0.5352 GB, free: 5.633 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.497e-05/0.5431, allocations: 99.91 kB / 0.5353 GB, free: 5.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.5431, allocations: 25.7 kB / 0.5353 GB, free: 5.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.511e-05/0.5431, allocations: 85.36 kB / 0.5354 GB, free: 5.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.5432, allocations: 29.86 kB / 0.5354 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.5432, allocations: 20.81 kB / 0.5354 GB, free: 5.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.5432, allocations: 317.7 kB / 0.5357 GB, free: 5.051 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.766e-05/0.5433, allocations: 16.44 kB / 0.5357 GB, free: 5.047 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.825e-05/0.5433, allocations: 21.38 kB / 0.5357 GB, free: 5.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.236e-05/0.5434, allocations: 49 kB / 0.5358 GB, free: 5.012 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5434, allocations: 5.312 kB / 0.5358 GB, free: 5.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001288/0.5435, allocations: 86.16 kB / 0.5359 GB, free: 4.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.5435, allocations: 10 kB / 0.5359 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.5435, allocations: 0 / 0.5359 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.5436, allocations: 1.875 kB / 0.5359 GB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.5437, allocations: 17.88 kB / 0.5359 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.5437, allocations: 0.7031 kB / 0.5359 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.488e-05/0.5437, allocations: 1.031 kB / 0.5359 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.5437, allocations: 2.281 kB / 0.5359 GB, free: 4.945 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 (9): * Single equations (assignments): 9 * 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 5.176e-05/0.5438, allocations: 120.8 kB / 0.536 GB, free: 4.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.531e-05/0.5438, allocations: 6.938 kB / 0.536 GB, free: 4.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.544, allocations: 110.7 kB / 0.5361 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.544, allocations: 2.219 kB / 0.5361 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.544, allocations: 0 / 0.5361 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.544, allocations: 0.7031 kB / 0.5361 GB, free: 4.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.447e-05/0.5441, allocations: 150.1 kB / 0.5363 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5441, allocations: 4 kB / 0.5363 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.5442, allocations: 18.3 kB / 0.5363 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5442, allocations: 1.062 kB / 0.5363 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.5442, allocations: 1.125 kB / 0.5363 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5442, allocations: 1.734 kB / 0.5363 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5442, allocations: 0 / 0.5363 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.5444, allocations: 137.7 kB / 0.5364 GB, free: 4.461 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-06/0.5444, allocations: 6.828 kB / 0.5365 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.5444, allocations: 13.77 kB / 0.5365 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.478e-05/0.5445, allocations: 1.75 kB / 0.5365 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.5445, allocations: 4.766 kB / 0.5365 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.5445, allocations: 2.438 kB / 0.5365 GB, free: 4.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 1.643e-05/0.5445, allocations: 77.17 kB / 0.5365 GB, free: 4.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5445, allocations: 0 / 0.5365 GB, free: 4.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.5448, allocations: 27.64 kB / 0.5366 GB, free: 4.363 MB / 398.1 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 () * Number of clocked 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 (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.0001473/0.5449, allocations: 122.3 kB / 0.5367 GB, free: 4.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001406/0.545, allocations: 50.81 kB / 0.5367 GB, free: 4.254 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5451, allocations: 4 kB / 0.5367 GB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.701e-05/0.5451, allocations: 23.12 kB / 0.5368 GB, free: 4.246 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.5452, allocations: 10.66 kB / 0.5368 GB, free: 4.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.5456, allocations: 151.9 kB / 0.5369 GB, free: 4.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.845e-05/0.5457, allocations: 0.6803 MB / 0.5376 GB, free: 3.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.78e-05/0.5457, allocations: 14.45 kB / 0.5376 GB, free: 3.402 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.5458, allocations: 11.95 kB / 0.5376 GB, free: 3.395 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5458, allocations: 0 / 0.5376 GB, free: 3.395 MB / 398.1 MB Notification: Performance of Templates: time 0.003798/0.5495, allocations: 0.8613 MB / 0.5385 GB, free: 3.324 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.790482548065484] Failed to read output from testmodel.py, exit status != 0: 0.5587128251791 0.5741768389999999 0.030437557 Calling exit ...