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.001554/0.001554, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001768/0.001768, allocations: 187 kB / 17.34 MB, free: 5.734 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8577/0.8577, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 65 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1674, allocations: 80.21 MB / 0.6604 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00201/0.1695, allocations: 0.6129 MB / 0.661 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001912/0.1714, allocations: 1.278 MB / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.003e-05/0.1715, allocations: 0 / 0.6622 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.788e-05/0.1715, allocations: 7.938 kB / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.924e-05/0.1716, allocations: 0 / 0.6622 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.1721, allocations: 75.73 kB / 0.6623 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.067e-05/0.1722, allocations: 27.91 kB / 0.6623 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.197e-05/0.1722, allocations: 0 / 0.6623 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.745e-05/0.1722, allocations: 4 kB / 0.6623 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.632e-05/0.1723, allocations: 19.92 kB / 0.6624 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.1724, allocations: 0 / 0.6624 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.1726, allocations: 95.89 kB / 0.6624 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.1727, allocations: 7.984 kB / 0.6625 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.1727, allocations: 15.92 kB / 0.6625 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.1729, allocations: 63.86 kB / 0.6625 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1729, allocations: 0 / 0.6625 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1729, allocations: 4 kB / 0.6625 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.1729, allocations: 3.938 kB / 0.6625 GB, free: 8.051 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.0005399/0.1735, allocations: 347.5 kB / 0.6629 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1735, allocations: 11.97 kB / 0.6629 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.1736, allocations: 4.844 kB / 0.6629 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001372/0.1737, allocations: 168.4 kB / 0.663 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1737, allocations: 8.375 kB / 0.6631 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.1738, allocations: 4.375 kB / 0.6631 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.1739, allocations: 54 kB / 0.6631 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1739, allocations: 0 / 0.6631 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.1739, allocations: 0 / 0.6631 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1739, allocations: 0 / 0.6631 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.174, allocations: 27.97 kB / 0.6631 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.1742, allocations: 173.5 kB / 0.6633 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.1743, allocations: 58.56 kB / 0.6634 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.1744, allocations: 28.84 kB / 0.6634 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000523/0.1749, allocations: 0.5544 MB / 0.6639 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.175, allocations: 34.5 kB / 0.664 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.175, allocations: 0 / 0.664 GB, free: 6.305 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.01932/0.1943, allocations: 4.297 MB / 0.6682 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.1944, allocations: 59.3 kB / 0.6682 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.1945, allocations: 89.86 kB / 0.6683 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.154e-05/0.1945, allocations: 33.83 kB / 0.6683 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.1946, allocations: 88.08 kB / 0.6684 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001211/0.1947, allocations: 47.27 kB / 0.6685 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.195, allocations: 89.67 kB / 0.6685 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1951, allocations: 326.8 kB / 0.6689 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/0.1956, allocations: 307.8 kB / 0.6691 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000502/0.1961, allocations: 311.9 kB / 0.6694 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.1976, allocations: 0.7562 MB / 0.6702 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1976, allocations: 3.938 kB / 0.6702 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001505/0.1991, allocations: 0.7924 MB / 0.671 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.1992, allocations: 8 kB / 0.671 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.1992, allocations: 0 / 0.671 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.1992, allocations: 0 / 0.671 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008988/0.2001, allocations: 91.89 kB / 0.6711 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.2001, allocations: 0 / 0.6711 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005475/0.2007, allocations: 12 kB / 0.6711 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.453e-05/0.2008, allocations: 35.97 kB / 0.6711 GB, free: 14.79 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.0001972/0.201, allocations: 118.7 kB / 0.6712 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.151e-05/0.201, allocations: 15.84 kB / 0.6712 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/0.2039, allocations: 1.393 MB / 0.6726 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.2039, allocations: 4 kB / 0.6726 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.204, allocations: 0 / 0.6726 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.204, allocations: 3.984 kB / 0.6726 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003115/0.2071, allocations: 1.802 MB / 0.6744 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.2072, allocations: 0 / 0.6744 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008092/0.208, allocations: 107.9 kB / 0.6745 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/0.208, allocations: 4 kB / 0.6745 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.439e-05/0.2081, allocations: 31.92 kB / 0.6745 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.2081, allocations: 4 kB / 0.6745 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2081, allocations: 0 / 0.6745 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/0.2105, allocations: 1.459 MB / 0.6759 GB, free: 9.754 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.2106, allocations: 96.86 kB / 0.676 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.854e-05/0.2107, allocations: 15.94 kB / 0.676 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005442/0.2113, allocations: 8 kB / 0.676 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.2114, allocations: 43.97 kB / 0.6761 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-05/0.2115, allocations: 27.98 kB / 0.6761 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.529e-05/0.2115, allocations: 83.34 kB / 0.6762 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2115, allocations: 0 / 0.6762 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006081/0.2121, allocations: 168 kB / 0.6763 GB, free: 9.301 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005281/0.2127, allocations: 215.1 kB / 0.6766 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001238/0.2139, allocations: 0.7223 MB / 0.6773 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2139, allocations: 4 kB / 0.6773 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006744/0.2146, allocations: 451.7 kB / 0.6777 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003535/0.215, allocations: 25.34 kB / 0.6777 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003482/0.2185, allocations: 0.842 MB / 0.6785 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.2188, allocations: 0.7142 MB / 0.6792 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005468/0.2193, allocations: 99.34 kB / 0.6793 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of SimCode: time 2.925e-06/0.2194, allocations: 0 / 0.6793 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.01171/0.2311, allocations: 6.878 MB / 0.686 GB, free: 15.37 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)