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.00547/0.00547, allocations: 102.4 kB / 15.73 MB, free: 6.055 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.001297/0.001297, allocations: 189.1 kB / 16.67 MB, free: 5.984 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7402/0.7402, allocations: 132.2 MB / 422.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 69.2 kB / 0.5814 GB, free: 0.832 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1854, allocations: 80.21 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002303/0.1878, allocations: 0.603 MB / 0.6603 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.1901, allocations: 1.286 MB / 0.6616 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.247e-05/0.1902, allocations: 0 / 0.6616 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.1902, allocations: 0 / 0.6616 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.837e-05/0.1902, allocations: 3.938 kB / 0.6616 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.1906, allocations: 67.8 kB / 0.6616 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.772e-05/0.1907, allocations: 27.86 kB / 0.6617 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.1908, allocations: 0 / 0.6617 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.604e-05/0.1908, allocations: 23.97 kB / 0.6617 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.259e-05/0.1909, allocations: 11.92 kB / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1909, allocations: 0 / 0.6617 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002159/0.1911, allocations: 99.89 kB / 0.6618 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.1911, allocations: 0 / 0.6618 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.1912, allocations: 11.94 kB / 0.6618 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.1913, allocations: 71.83 kB / 0.6619 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1913, allocations: 0 / 0.6619 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1913, allocations: 0 / 0.6619 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.708e-06/0.1913, allocations: 0 / 0.6619 GB, free: 11.27 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.0004734/0.1918, allocations: 351.5 kB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1919, allocations: 8.031 kB / 0.6622 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.1919, allocations: 8.844 kB / 0.6622 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1921, allocations: 168.3 kB / 0.6624 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1921, allocations: 4.375 kB / 0.6624 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.1921, allocations: 384 / 0.6624 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1923, allocations: 57.98 kB / 0.6624 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1923, allocations: 3.984 kB / 0.6625 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.1923, allocations: 8 kB / 0.6625 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1923, allocations: 0 / 0.6625 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.341e-05/0.1924, allocations: 23.97 kB / 0.6625 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.1926, allocations: 165.6 kB / 0.6626 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001416/0.1928, allocations: 62.5 kB / 0.6627 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.1928, allocations: 24.84 kB / 0.6627 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007031/0.1936, allocations: 0.5583 MB / 0.6633 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.1936, allocations: 42.5 kB / 0.6633 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.1936, allocations: 0 / 0.6633 GB, free: 9.508 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.01855/0.2122, allocations: 4.308 MB / 0.6675 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.2122, allocations: 51.41 kB / 0.6676 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.2123, allocations: 93.86 kB / 0.6677 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/0.2124, allocations: 29.7 kB / 0.6677 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.631e-05/0.2124, allocations: 80.14 kB / 0.6678 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.2125, allocations: 55.17 kB / 0.6678 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.2128, allocations: 89.66 kB / 0.6679 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.213, allocations: 326.9 kB / 0.6682 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/0.2135, allocations: 303.9 kB / 0.6685 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/0.214, allocations: 315.9 kB / 0.6688 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001681/0.2157, allocations: 0.7563 MB / 0.6695 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.2157, allocations: 3.938 kB / 0.6695 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00167/0.2174, allocations: 0.7925 MB / 0.6703 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.2174, allocations: 4 kB / 0.6703 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.2174, allocations: 0 / 0.6703 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2175, allocations: 0 / 0.6703 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.2182, allocations: 95.89 kB / 0.6704 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2183, allocations: 7.984 kB / 0.6704 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004453/0.2187, allocations: 8 kB / 0.6704 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.551e-05/0.2188, allocations: 31.98 kB / 0.6705 GB, free: 2 MB / 0.4981 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.000186/0.219, allocations: 122.4 kB / 0.6706 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.2191, allocations: 7.906 kB / 0.6706 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/0.2221, allocations: 1.392 MB / 0.6719 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.2222, allocations: 8 kB / 0.6719 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.2222, allocations: 0 / 0.6719 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2222, allocations: 0 / 0.6719 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.2251, allocations: 1.794 MB / 0.6737 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2251, allocations: 32 / 0.6737 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007363/0.2258, allocations: 119.8 kB / 0.6738 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.269e-06/0.2258, allocations: 3.984 kB / 0.6738 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-05/0.2259, allocations: 35.94 kB / 0.6739 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.2259, allocations: 0 / 0.6739 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.2259, allocations: 3.984 kB / 0.6739 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002445/0.2284, allocations: 1.463 MB / 0.6753 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.2285, allocations: 92.95 kB / 0.6754 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/0.2285, allocations: 15.94 kB / 0.6754 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004266/0.229, allocations: 8 kB / 0.6754 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.2291, allocations: 43.97 kB / 0.6754 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.595e-05/0.2292, allocations: 31.98 kB / 0.6755 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.2292, allocations: 79.28 kB / 0.6755 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2293, allocations: 0 / 0.6755 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005612/0.2298, allocations: 168 kB / 0.6757 GB, free: 12.5 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.000485/0.2303, allocations: 224.8 kB / 0.6759 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.2316, allocations: 0.7223 MB / 0.6766 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2316, allocations: 0 / 0.6766 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007474/0.2323, allocations: 455.7 kB / 0.6771 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.2327, allocations: 12 kB / 0.6771 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.2358, allocations: 0.8054 MB / 0.6779 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.2361, allocations: 0.722 MB / 0.6786 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009715/0.2371, allocations: 293.5 kB / 0.6788 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005692/0.2377, allocations: 91.41 kB / 0.6789 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of SimCode: time 6.02e-07/0.2377, allocations: 3.938 kB / 0.6789 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of Templates: time 0.02041/0.2581, allocations: 11.21 MB / 0.6899 GB, free: 14.01 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)