Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001094/0.001094, allocations: 193.9 kB / 16.14 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9351/0.9351, allocations: 135.1 MB / 425.1 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 60.5 kB / 0.5048 GB, free: 5.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1693, allocations: 80.93 MB / 0.5838 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00175/0.1711, allocations: 0.6581 MB / 0.5845 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.1726, allocations: 1.281 MB / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.428e-05/0.1726, allocations: 0 / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.1726, allocations: 0 / 0.5857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.024e-05/0.1727, allocations: 4 kB / 0.5857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.173, allocations: 55.88 kB / 0.5858 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.4e-05/0.173, allocations: 15.98 kB / 0.5858 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.1731, allocations: 4 kB / 0.5858 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.375e-05/0.1731, allocations: 19.86 kB / 0.5858 GB, free: 2.852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.84e-05/0.1732, allocations: 11.92 kB / 0.5858 GB, free: 2.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.305e-05/0.1732, allocations: 4 kB / 0.5858 GB, free: 2.836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.1734, allocations: 95.89 kB / 0.5859 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.262e-05/0.1734, allocations: 8 kB / 0.5859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.1734, allocations: 19.91 kB / 0.5859 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.1736, allocations: 59.86 kB / 0.586 GB, free: 2.656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1736, allocations: 0 / 0.586 GB, free: 2.656 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.1736, allocations: 0 / 0.586 GB, free: 2.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1736, allocations: 0 / 0.586 GB, free: 2.656 MB / 494.1 MB 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.0004402/0.174, allocations: 351.8 kB / 0.5863 GB, free: 2.266 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1741, allocations: 8.031 kB / 0.5863 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.225e-05/0.1741, allocations: 34.75 kB / 0.5864 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.411e-05/0.1742, allocations: 4.938 kB / 0.5864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001049/0.1743, allocations: 168.3 kB / 0.5865 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.1743, allocations: 12.25 kB / 0.5866 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1743, allocations: 4.375 kB / 0.5866 GB, free: 1.992 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.1744, allocations: 57.8 kB / 0.5866 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1745, allocations: 4 kB / 0.5866 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1745, allocations: 0 / 0.5866 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1745, allocations: 0 / 0.5866 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.361e-05/0.1746, allocations: 23.98 kB / 0.5866 GB, free: 1.902 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001719/0.1747, allocations: 173.6 kB / 0.5868 GB, free: 1.684 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.1749, allocations: 62.48 kB / 0.5869 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/0.1749, allocations: 24.86 kB / 0.5869 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004772/0.1754, allocations: 0.5583 MB / 0.5874 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1754, allocations: 38.5 kB / 0.5875 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 4.018e-06/0.1754, allocations: 3.984 kB / 0.5875 GB, free: 0.8477 MB / 494.1 MB 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.01991/0.1953, allocations: 4.291 MB / 0.5917 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.1955, allocations: 59.41 kB / 0.5917 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.955e-05/0.1955, allocations: 93.86 kB / 0.5918 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/0.1956, allocations: 25.7 kB / 0.5918 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.1956, allocations: 84.14 kB / 0.5919 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.1958, allocations: 59.09 kB / 0.592 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000248/0.196, allocations: 93.67 kB / 0.5921 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.1961, allocations: 322.8 kB / 0.5924 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005299/0.1967, allocations: 307.9 kB / 0.5927 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.1972, allocations: 308 kB / 0.593 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001531/0.1987, allocations: 0.7612 MB / 0.5937 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1987, allocations: 0 / 0.5937 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001562/0.2003, allocations: 0.7903 MB / 0.5945 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2003, allocations: 7.938 kB / 0.5945 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2004, allocations: 0 / 0.5945 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.2004, allocations: 4 kB / 0.5945 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007742/0.2012, allocations: 95.88 kB / 0.5946 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.2012, allocations: 0 / 0.5946 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004527/0.2016, allocations: 11.94 kB / 0.5946 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.2017, allocations: 31.98 kB / 0.5946 GB, free: 9.34 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.0001947/0.2019, allocations: 125.8 kB / 0.5947 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.496e-05/0.202, allocations: 4 kB / 0.5947 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003178/0.2052, allocations: 1.392 MB / 0.5961 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2052, allocations: 4 kB / 0.5961 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2052, allocations: 4 kB / 0.5961 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.2052, allocations: 3.984 kB / 0.5961 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002845/0.2081, allocations: 1.821 MB / 0.5979 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2081, allocations: 0 / 0.5979 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007493/0.2089, allocations: 103.9 kB / 0.598 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.198e-06/0.2089, allocations: 4 kB / 0.598 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/0.209, allocations: 31.94 kB / 0.598 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.209, allocations: 0 / 0.598 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.209, allocations: 4 kB / 0.598 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/0.2114, allocations: 1.457 MB / 0.5995 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.2114, allocations: 92.98 kB / 0.5995 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-05/0.2115, allocations: 7.938 kB / 0.5995 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004669/0.212, allocations: 19.98 kB / 0.5996 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.2121, allocations: 35.97 kB / 0.5996 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-05/0.2122, allocations: 32 kB / 0.5996 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.757e-05/0.2123, allocations: 75.28 kB / 0.5997 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2123, allocations: 0 / 0.5997 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005999/0.2129, allocations: 176 kB / 0.5999 GB, free: 3.844 MB / 0.4981 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.003188/0.2161, allocations: 2.12 MB / 0.6019 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.2174, allocations: 0.7223 MB / 0.6026 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2174, allocations: 0 / 0.6026 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006828/0.2181, allocations: 456.1 kB / 0.6031 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003414/0.2185, allocations: 12 kB / 0.6031 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2531/0.4716, allocations: 3.751 MB / 0.6068 GB, free: 51.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/0.4718, allocations: 0.7177 MB / 0.6075 GB, free: 51.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00132/0.4731, allocations: 292.2 kB / 0.6077 GB, free: 51.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000576/0.4737, allocations: 118.9 kB / 0.6078 GB, free: 51.05 MB / 0.4981 GB Notification: Performance of SimCode: time 1.703e-06/0.4737, allocations: 0 / 0.6078 GB, free: 51.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02133/0.495, allocations: 12.02 MB / 0.6196 GB, free: 50.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001281/0.4952, allocations: 224.7 kB / 0.6198 GB, free: 50.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.318, allocations: 2.5 kB / 0.6198 GB, free: 50.05 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)