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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 115.8 kB / 16.42 MB, free: 6.5 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.001386/0.001386, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7542/0.7542, allocations: 132.2 MB / 423.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 67.97 kB / 0.5821 GB, free: 23.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1274, allocations: 80.22 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001473/0.1289, allocations: 0.5979 MB / 0.661 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.1303, allocations: 1.278 MB / 0.6622 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.363e-05/0.1304, allocations: 0 / 0.6622 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.1304, allocations: 0 / 0.6622 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.734e-05/0.1304, allocations: 0 / 0.6622 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.1307, allocations: 79.72 kB / 0.6623 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.449e-05/0.1308, allocations: 19.92 kB / 0.6623 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.1309, allocations: 4 kB / 0.6623 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.063e-05/0.1309, allocations: 11.98 kB / 0.6623 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.28e-05/0.1309, allocations: 19.91 kB / 0.6624 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.131, allocations: 4 kB / 0.6624 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001997/0.1312, allocations: 95.83 kB / 0.6625 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.1312, allocations: 4 kB / 0.6625 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.859e-05/0.1312, allocations: 15.92 kB / 0.6625 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1314, allocations: 63.86 kB / 0.6625 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1314, allocations: 0 / 0.6625 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1314, allocations: 0 / 0.6625 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1314, allocations: 0 / 0.6625 GB, free: 8.035 MB / 0.4981 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.0004027/0.1318, allocations: 351.5 kB / 0.6629 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1319, allocations: 12.03 kB / 0.6629 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.068e-05/0.1319, allocations: 4.844 kB / 0.6629 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.132, allocations: 160.4 kB / 0.663 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-06/0.132, allocations: 8.375 kB / 0.663 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.132, allocations: 8.375 kB / 0.6631 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1322, allocations: 61.89 kB / 0.6631 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1322, allocations: 4 kB / 0.6631 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.1322, allocations: 4 kB / 0.6631 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1322, allocations: 3.938 kB / 0.6631 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.857e-05/0.1323, allocations: 19.98 kB / 0.6631 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001529/0.1324, allocations: 161.7 kB / 0.6633 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.1326, allocations: 66.55 kB / 0.6634 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.951e-05/0.1326, allocations: 20.86 kB / 0.6634 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004286/0.133, allocations: 0.5621 MB / 0.6639 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.1331, allocations: 42.48 kB / 0.664 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.1331, allocations: 0 / 0.664 GB, free: 6.273 MB / 0.4981 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.01967/0.1528, allocations: 4.289 MB / 0.6682 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.1528, allocations: 59.31 kB / 0.6682 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.843e-05/0.1529, allocations: 93.86 kB / 0.6683 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.525e-05/0.153, allocations: 29.83 kB / 0.6683 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.254e-05/0.153, allocations: 80.14 kB / 0.6684 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1531, allocations: 55.25 kB / 0.6685 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.1534, allocations: 97.66 kB / 0.6686 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1535, allocations: 314.8 kB / 0.6689 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.154, allocations: 315.9 kB / 0.6692 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004968/0.1545, allocations: 313.5 kB / 0.6695 GB, free: 480 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.1559, allocations: 0.7525 MB / 0.6702 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.156, allocations: 0 / 0.6702 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001475/0.1574, allocations: 0.7942 MB / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1575, allocations: 4 kB / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1575, allocations: 320 / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1575, allocations: 0 / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008509/0.1584, allocations: 99.94 kB / 0.6711 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1584, allocations: 0 / 0.6711 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005518/0.1589, allocations: 4 kB / 0.6711 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.12e-05/0.159, allocations: 39.97 kB / 0.6711 GB, free: 14.77 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001929/0.1592, allocations: 122.6 kB / 0.6712 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.1593, allocations: 11.91 kB / 0.6712 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00308/0.1624, allocations: 1.392 MB / 0.6726 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1624, allocations: 3.938 kB / 0.6726 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1624, allocations: 0 / 0.6726 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.075e-05/0.1625, allocations: 92.86 kB / 0.6727 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.1626, allocations: 19.92 kB / 0.6727 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005098/0.1631, allocations: 11.94 kB / 0.6727 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.1632, allocations: 39.97 kB / 0.6728 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001696/0.1649, allocations: 0.977 MB / 0.6737 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002317/0.1673, allocations: 1.553 MB / 0.6752 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005649/0.1678, allocations: 427.8 kB / 0.6756 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.256e-05/0.1679, allocations: 79.27 kB / 0.6757 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of Backend: time 5.51e-07/0.1679, allocations: 0 / 0.6757 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.1693, allocations: 0.5549 MB / 0.6762 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0007262/0.17, allocations: 0.7106 MB / 0.6769 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of Templates: time 0.01526/0.1853, allocations: 11.44 MB / 0.6881 GB, free: 13.29 MB / 0.5294 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)