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.008485/0.008485, allocations: 170.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7354/0.7354, allocations: 132.3 MB / 148.1 MB, free: 204 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.1 MB / 403.2 MB, free: 6.742 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.0008929/0.0008927, allocations: 95.2 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004222, allocations: 15.98 kB / 0.5641 GB, free: 2.086 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4013, allocations: 81.58 MB / 0.6438 GB, free: 39.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1511/0.5524, allocations: 111.6 MB / 0.7528 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.5527, allocations: 75.95 kB / 0.7529 GB, free: 8.203 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00735/0.5601, allocations: 2.39 MB / 0.7552 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.725e-06/0.5601, allocations: 0 / 0.7552 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.5602, allocations: 0 / 0.7552 GB, free: 5.812 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.000489/0.5606, allocations: 363.2 kB / 0.7555 GB, free: 5.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.5607, allocations: 8.031 kB / 0.7556 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.211e-05/0.5608, allocations: 7.938 kB / 0.7556 GB, free: 5.395 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.561, allocations: 174.9 kB / 0.7557 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.561, allocations: 0 / 0.7557 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.5611, allocations: 8 kB / 0.7557 GB, free: 5.176 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.5613, allocations: 53.61 kB / 0.7558 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.5613, allocations: 4 kB / 0.7558 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.5613, allocations: 4 kB / 0.7558 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.5613, allocations: 4 kB / 0.7558 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.574e-05/0.5614, allocations: 23.97 kB / 0.7558 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/0.5617, allocations: 169.5 kB / 0.756 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.5619, allocations: 54.56 kB / 0.756 GB, free: 4.805 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006264/0.5625, allocations: 0.5583 MB / 0.7566 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.5626, allocations: 38.5 kB / 0.7566 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.225e-06/0.5626, allocations: 0 / 0.7566 GB, free: 4.07 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01984/0.5824, allocations: 4.2 MB / 0.7607 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.5825, allocations: 55.36 kB / 0.7608 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.183e-05/0.5826, allocations: 85 kB / 0.7608 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.386e-05/0.5827, allocations: 33.7 kB / 0.7609 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.5828, allocations: 88.2 kB / 0.761 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.5829, allocations: 51.27 kB / 0.761 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.583, allocations: 0 / 0.761 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.5831, allocations: 318.8 kB / 0.7613 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.5836, allocations: 307.9 kB / 0.7616 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.5841, allocations: 311.8 kB / 0.7619 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/0.5848, allocations: 379.9 kB / 0.7623 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.5848, allocations: 0 / 0.7623 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001442/0.5862, allocations: 0.7881 MB / 0.763 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.5863, allocations: 8 kB / 0.763 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.5863, allocations: 0 / 0.763 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.5863, allocations: 0 / 0.763 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000783/0.5871, allocations: 95.94 kB / 0.7631 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.5871, allocations: 0 / 0.7631 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.5876, allocations: 11.95 kB / 0.7632 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.325e-05/0.5877, allocations: 35.97 kB / 0.7632 GB, free: 13.14 MB / 0.5417 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 () * Number of clocked 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.0002121/0.5879, allocations: 125.7 kB / 0.7633 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.567e-05/0.588, allocations: 11.89 kB / 0.7633 GB, free: 13 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003384/0.5914, allocations: 1.388 MB / 0.7647 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5914, allocations: 4 kB / 0.7647 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.5914, allocations: 0 / 0.7647 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.5914, allocations: 3.984 kB / 0.7647 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/0.5944, allocations: 1.798 MB / 0.7664 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.5944, allocations: 0 / 0.7664 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000774/0.5952, allocations: 111.9 kB / 0.7665 GB, free: 9.621 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.916e-05/0.5952, allocations: 3.953 kB / 0.7665 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.098e-05/0.5953, allocations: 28 kB / 0.7666 GB, free: 9.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.5953, allocations: 3.938 kB / 0.7666 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5954, allocations: 0 / 0.7666 GB, free: 9.586 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.5977, allocations: 1.467 MB / 0.768 GB, free: 8.094 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.5978, allocations: 100.8 kB / 0.7681 GB, free: 7.977 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/0.5979, allocations: 8 kB / 0.7681 GB, free: 7.969 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/0.5983, allocations: 15.98 kB / 0.7681 GB, free: 7.953 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.5985, allocations: 39.97 kB / 0.7682 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.407e-05/0.5986, allocations: 32 kB / 0.7682 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.5986, allocations: 75.28 kB / 0.7683 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5986, allocations: 4.094 kB / 0.7683 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006871/0.5993, allocations: 211.7 kB / 0.7685 GB, free: 7.598 MB / 0.5417 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 () * Number of clocked 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.0006047/0.5999, allocations: 254.8 kB / 0.7687 GB, free: 7.34 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001271/0.6012, allocations: 0.7223 MB / 0.7694 GB, free: 6.617 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6012, allocations: 3.938 kB / 0.7694 GB, free: 6.613 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.6019, allocations: 447.8 kB / 0.7699 GB, free: 6.176 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.6021, allocations: 12.59 kB / 0.7699 GB, free: 6.168 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003127/0.6052, allocations: 0.8544 MB / 0.7707 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.6055, allocations: 0.7223 MB / 0.7714 GB, free: 4.531 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001452/0.607, allocations: 289.5 kB / 0.7717 GB, free: 4.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000528/0.6075, allocations: 99.41 kB / 0.7718 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of SimCode: time 7.51e-07/0.6076, allocations: 0 / 0.7718 GB, free: 4.152 MB / 0.5417 GB Notification: Performance of Templates: time 0.0191/0.6267, allocations: 10.09 MB / 0.7816 GB, free: 10.11 MB / 0.5573 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)