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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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=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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4322/0.4322, allocations: 55.01 MB / 325.4 MB, free: 0.6719 MB / 254.1 MB 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.0006284/0.0006286, allocations: 16 kB / 396.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4502, allocations: 60.72 MB / 457.4 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007966/0.451, allocations: 290 kB / 457.7 MB, free: 38.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001524/0.4526, allocations: 1.022 MB / 458.7 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.853e-05/0.4526, allocations: 0 / 458.7 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.4526, allocations: 5.188 kB / 458.7 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.569e-05/0.4527, allocations: 0 / 458.7 MB, free: 38.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000366/0.4531, allocations: 55.75 kB / 458.7 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.472e-05/0.4531, allocations: 12.48 kB / 458.8 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.364e-05/0.4532, allocations: 3.75 kB / 458.8 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.708e-05/0.4532, allocations: 9.766 kB / 458.8 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.4533, allocations: 12.05 kB / 458.8 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.4533, allocations: 0.9688 kB / 458.8 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.4535, allocations: 86.7 kB / 458.9 MB, free: 38.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.639e-05/0.4536, allocations: 12.06 kB / 458.9 MB, free: 38.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.4536, allocations: 28.73 kB / 458.9 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001144/0.4537, allocations: 36.92 kB / 458.9 MB, free: 38.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4537, allocations: 3.094 kB / 459 MB, free: 38.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4537, allocations: 1.969 kB / 459 MB, free: 38.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4538, allocations: 0 / 459 MB, free: 38.47 MB / 382.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.0004621/0.4542, allocations: 341.8 kB / 459.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.4543, allocations: 9.406 kB / 459.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.372e-05/0.4543, allocations: 3.281 kB / 459.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.4545, allocations: 164.5 kB / 459.5 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.4545, allocations: 0 / 459.5 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.4545, allocations: 6.281 kB / 459.5 MB, free: 37.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.4547, allocations: 45.56 kB / 459.5 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4547, allocations: 9.75 kB / 459.5 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.4547, allocations: 0 / 459.5 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4547, allocations: 0 / 459.5 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.911e-05/0.4548, allocations: 13.41 kB / 459.5 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.455, allocations: 158.7 kB / 459.7 MB, free: 37.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.36e-05/0.4551, allocations: 43.98 kB / 459.7 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.69e-05/0.4551, allocations: 19.39 kB / 459.7 MB, free: 37.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004326/0.4555, allocations: 0.5638 MB / 460.3 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/0.4556, allocations: 34.44 kB / 460.3 MB, free: 36.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.4556, allocations: 0.5625 kB / 460.3 MB, free: 36.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001607/0.4572, allocations: 465.5 kB / 460.8 MB, free: 36.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.4572, allocations: 56.91 kB / 460.9 MB, free: 36.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.176e-05/0.4573, allocations: 96.38 kB / 461 MB, free: 36.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.4573, allocations: 25.7 kB / 461 MB, free: 36.51 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.777e-05/0.4574, allocations: 80.8 kB / 461.1 MB, free: 36.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.4574, allocations: 27.42 kB / 461.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-06/0.4574, allocations: 7.25 kB / 461.1 MB, free: 36.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.635e-05/0.4575, allocations: 312.9 kB / 461.4 MB, free: 36.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.4575, allocations: 23.12 kB / 461.4 MB, free: 36.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/0.4576, allocations: 14.25 kB / 461.4 MB, free: 36.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.616e-05/0.4576, allocations: 31.44 kB / 461.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.4576, allocations: 0 / 461.5 MB, free: 36.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001134/0.4577, allocations: 80.11 kB / 461.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4578, allocations: 6.312 kB / 461.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.4578, allocations: 1.125 kB / 461.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.4578, allocations: 0.5938 kB / 461.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.4579, allocations: 22 kB / 461.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4579, allocations: 10.11 kB / 461.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.458, allocations: 7.75 kB / 461.6 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.458, allocations: 4.656 kB / 461.6 MB, free: 36.05 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.261e-05/0.458, allocations: 110.6 kB / 461.7 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.04e-05/0.4581, allocations: 3.281 kB / 461.7 MB, free: 35.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.4583, allocations: 100.2 kB / 461.8 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.4583, allocations: 3.094 kB / 461.8 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4583, allocations: 0.875 kB / 461.8 MB, free: 35.9 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.4583, allocations: 3.953 kB / 461.8 MB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001002/0.4584, allocations: 177.5 kB / 462 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4584, allocations: 0 / 462 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.005e-05/0.4585, allocations: 10.72 kB / 462 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4585, allocations: 1.719 kB / 462 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4585, allocations: 6.359 kB / 462 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4585, allocations: 0 / 462 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4585, allocations: 0.75 kB / 462 MB, free: 35.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002019/0.4588, allocations: 142.8 kB / 462.1 MB, free: 35.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.4588, allocations: 83.67 kB / 462.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.4588, allocations: 2.625 kB / 462.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.702e-05/0.4589, allocations: 3.875 kB / 462.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.4589, allocations: 0.6562 kB / 462.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.208e-06/0.4589, allocations: 11.83 kB / 462.2 MB, free: 35.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.431e-05/0.4589, allocations: 75.28 kB / 462.3 MB, free: 35.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.459, allocations: 3.656 kB / 462.3 MB, free: 35.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002081/0.4592, allocations: 22.19 kB / 462.3 MB, free: 35.46 MB / 382.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 (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.0002009/0.4594, allocations: 125.9 kB / 462.5 MB, free: 35.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001562/0.4595, allocations: 54.66 kB / 462.5 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4595, allocations: 0 / 462.5 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.4596, allocations: 26.5 kB / 462.5 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001598/0.4598, allocations: 7.188 kB / 462.5 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.4601, allocations: 157.6 kB / 462.7 MB, free: 35.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.4603, allocations: 0.685 MB / 463.4 MB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.905e-05/0.4603, allocations: 14.69 kB / 463.4 MB, free: 34.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.927e-05/0.4604, allocations: 13.75 kB / 463.4 MB, free: 34.54 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4604, allocations: 0 / 463.4 MB, free: 34.54 MB / 382.1 MB Notification: Performance of Templates: time 0.003453/0.4638, allocations: 0.7806 MB / 464.2 MB, free: 34.49 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: