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.001105/0.001106, allocations: 111.7 kB / 16.42 MB, free: 6.48 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.001029/0.001029, allocations: 185.7 kB / 17.34 MB, free: 5.746 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.368/1.368, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7802/0.7802, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 65.97 kB / 0.5821 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1299, allocations: 80.22 MB / 0.6604 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00165/0.1316, allocations: 0.613 MB / 0.661 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.1331, allocations: 1.278 MB / 0.6622 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.158e-05/0.1331, allocations: 0 / 0.6622 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.1331, allocations: 3.938 kB / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 1.741e-05/0.1332, allocations: 0 / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.1335, allocations: 67.75 kB / 0.6623 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.291e-05/0.1336, allocations: 19.97 kB / 0.6623 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.1336, allocations: 7.938 kB / 0.6623 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.038e-05/0.1337, allocations: 11.98 kB / 0.6623 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.192e-05/0.1337, allocations: 15.92 kB / 0.6624 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1338, allocations: 8 kB / 0.6624 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.134, allocations: 95.83 kB / 0.6625 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.447e-05/0.134, allocations: 7.984 kB / 0.6625 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.134, allocations: 11.94 kB / 0.6625 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001368/0.1342, allocations: 63.78 kB / 0.6625 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.1342, allocations: 0 / 0.6625 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1342, allocations: 0 / 0.6625 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.1342, allocations: 0 / 0.6625 GB, free: 8.059 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.0004121/0.1346, allocations: 351.3 kB / 0.6629 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.1346, allocations: 16.03 kB / 0.6629 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.1347, allocations: 4.891 kB / 0.6629 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.967e-05/0.1348, allocations: 160.4 kB / 0.663 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.1348, allocations: 4.375 kB / 0.6631 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.1348, allocations: 8.375 kB / 0.6631 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.1349, allocations: 49.98 kB / 0.6631 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.135, allocations: 4 kB / 0.6631 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.135, allocations: 4 kB / 0.6631 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.135, allocations: 3.938 kB / 0.6631 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.003e-05/0.1351, allocations: 27.92 kB / 0.6631 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.1352, allocations: 177.5 kB / 0.6633 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1353, allocations: 58.56 kB / 0.6634 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.993e-05/0.1354, allocations: 24.84 kB / 0.6634 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004701/0.1359, allocations: 0.5583 MB / 0.6639 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1359, allocations: 42.5 kB / 0.664 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.1359, allocations: 3.938 kB / 0.664 GB, free: 6.289 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.01939/0.1553, allocations: 4.286 MB / 0.6682 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.1554, allocations: 59.41 kB / 0.6682 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.643e-05/0.1554, allocations: 97.84 kB / 0.6683 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.655e-05/0.1555, allocations: 25.7 kB / 0.6683 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.1556, allocations: 84.12 kB / 0.6684 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.1557, allocations: 63.44 kB / 0.6685 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.156, allocations: 93.67 kB / 0.6686 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.1561, allocations: 318.8 kB / 0.6689 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005166/0.1566, allocations: 316 kB / 0.6692 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005264/0.1571, allocations: 313.5 kB / 0.6695 GB, free: 488 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/0.1587, allocations: 0.7469 MB / 0.6702 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1587, allocations: 0 / 0.6702 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001549/0.1603, allocations: 0.7997 MB / 0.671 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1603, allocations: 4 kB / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1603, allocations: 0 / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1603, allocations: 8 kB / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/0.1611, allocations: 95.94 kB / 0.6711 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1611, allocations: 0 / 0.6711 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004645/0.1616, allocations: 8 kB / 0.6711 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.835e-05/0.1617, allocations: 43.91 kB / 0.6711 GB, free: 14.76 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.0001819/0.1619, allocations: 122.6 kB / 0.6713 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.049e-05/0.1619, allocations: 4 kB / 0.6713 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002968/0.1649, allocations: 1.388 MB / 0.6726 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.1649, allocations: 3.984 kB / 0.6726 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1649, allocations: 0 / 0.6726 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.165, allocations: 89.02 kB / 0.6727 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.198e-05/0.1651, allocations: 12 kB / 0.6727 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.1655, allocations: 11.94 kB / 0.6727 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/0.1657, allocations: 43.97 kB / 0.6728 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00182/0.1676, allocations: 0.9809 MB / 0.6737 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002374/0.1699, allocations: 1.549 MB / 0.6752 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006092/0.1706, allocations: 427.9 kB / 0.6757 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.81e-05/0.1706, allocations: 75.28 kB / 0.6757 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of Backend: time 2.685e-06/0.1706, allocations: 0 / 0.6757 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001378/0.172, allocations: 0.5624 MB / 0.6763 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0007207/0.1727, allocations: 0.7096 MB / 0.677 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of Templates: time 0.01631/0.189, allocations: 11.44 MB / 0.6881 GB, free: 13.3 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)