Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json 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/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7705/0.7705, allocations: 130.7 MB / 138.7 MB, free: 3.512 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.717/1.717, allocations: 221.5 MB / 391.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 101.5 kB / 473.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.107e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5334/0.5334, allocations: 81.58 MB / 0.6282 GB, free: 42.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1893/0.7228, allocations: 110.9 MB / 0.7365 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.7231, allocations: 79.88 kB / 0.7366 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007302/0.7305, allocations: 2.373 MB / 0.7389 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7305, allocations: 0 / 0.7389 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.7305, allocations: 5.125 kB / 0.7389 GB, free: 13.42 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003568/0.7309, allocations: 350.4 kB / 0.7392 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.7309, allocations: 12.03 kB / 0.7392 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.731, allocations: 7.906 kB / 0.7392 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.7311, allocations: 163 kB / 0.7394 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.7312, allocations: 4 kB / 0.7394 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.7312, allocations: 0 / 0.7394 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001048/0.7313, allocations: 27.97 kB / 0.7394 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.41e-05/0.7314, allocations: 41.69 kB / 0.7395 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.7314, allocations: 8 kB / 0.7395 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7315, allocations: 3.938 kB / 0.7395 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-06/0.7315, allocations: 0 / 0.7395 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001789/0.7316, allocations: 150.1 kB / 0.7396 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.7318, allocations: 50.56 kB / 0.7397 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.7318, allocations: 20.86 kB / 0.7397 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005292/0.7323, allocations: 0.5622 MB / 0.7402 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.7324, allocations: 30.56 kB / 0.7403 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.223e-06/0.7324, allocations: 0 / 0.7403 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17): time 0.01272/0.7451, allocations: 3.326 MB / 0.7435 GB, free: 8.254 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.7452, allocations: 59.41 kB / 0.7436 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.041e-05/0.7453, allocations: 85 kB / 0.7436 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.7454, allocations: 29.83 kB / 0.7437 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.689e-05/0.7454, allocations: 80.14 kB / 0.7438 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.7456, allocations: 55.2 kB / 0.7438 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.7456, allocations: 0 / 0.7438 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.7458, allocations: 322.8 kB / 0.7441 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004408/0.7463, allocations: 304 kB / 0.7444 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.7467, allocations: 304 kB / 0.7447 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006845/0.7474, allocations: 373.5 kB / 0.745 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.7474, allocations: 0 / 0.745 GB, free: 6.641 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001441/0.7489, allocations: 0.7747 MB / 0.7458 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/0.7489, allocations: 5.875 kB / 0.7458 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7489, allocations: 4 kB / 0.7458 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.7489, allocations: 0 / 0.7458 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/0.7498, allocations: 96.69 kB / 0.7459 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.7498, allocations: 0 / 0.7459 GB, free: 5.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004855/0.7503, allocations: 4 kB / 0.7459 GB, free: 5.754 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.302e-05/0.7504, allocations: 31.98 kB / 0.7459 GB, free: 5.723 MB / 0.5261 GB 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 (18): * Single equations (assignments): 18 * 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 0.000204/0.7506, allocations: 112.9 kB / 0.746 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.153e-05/0.7507, allocations: 7.906 kB / 0.7461 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/0.754, allocations: 1.336 MB / 0.7474 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.754, allocations: 4 kB / 0.7474 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.754, allocations: 0 / 0.7474 GB, free: 4.254 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.605e-06/0.754, allocations: 4 kB / 0.7474 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.7567, allocations: 1.71 MB / 0.749 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.7568, allocations: 0 / 0.749 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007685/0.7575, allocations: 107.9 kB / 0.7491 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.7576, allocations: 4 kB / 0.7491 GB, free: 2.387 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.368e-05/0.7576, allocations: 20 kB / 0.7492 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.7576, allocations: 7.953 kB / 0.7492 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7577, allocations: 0 / 0.7492 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.7598, allocations: 1.396 MB / 0.7505 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.433e-05/0.7599, allocations: 92.86 kB / 0.7506 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.217e-05/0.76, allocations: 7.938 kB / 0.7506 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004968/0.7605, allocations: 4 kB / 0.7506 GB, free: 0.8164 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.7606, allocations: 43.95 kB / 0.7507 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/0.7607, allocations: 32 kB / 0.7507 GB, free: 0.7422 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.791e-05/0.7608, allocations: 79.34 kB / 0.7508 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7608, allocations: 0 / 0.7508 GB, free: 0.6641 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006858/0.7615, allocations: 195.7 kB / 0.751 GB, free: 484 kB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 40 * 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.0006238/0.7621, allocations: 252.4 kB / 0.7512 GB, free: 220 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.7632, allocations: 0.6951 MB / 0.7519 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.7633, allocations: 0 / 0.7519 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006118/0.7639, allocations: 432.5 kB / 0.7523 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.7641, allocations: 0 / 0.7523 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003174/0.7673, allocations: 0.6879 MB / 0.753 GB, free: 14.38 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.7676, allocations: 0.7179 MB / 0.7537 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001478/0.7691, allocations: 293.3 kB / 0.754 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005327/0.7697, allocations: 87.41 kB / 0.754 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of SimCode: time 1.072e-06/0.7697, allocations: 0 / 0.754 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.01886/0.7885, allocations: 10.11 MB / 0.7639 GB, free: 3.152 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)