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.000861/0.0008609, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001114/0.001114, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9045/0.9045, allocations: 135.3 MB / 426.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.0002908, allocations: 16.22 kB / 0.5071 GB, free: 5.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1536, allocations: 82.3 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006379/0.1543, allocations: 327.1 kB / 0.5878 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.1556, allocations: 1.231 MB / 0.589 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.698e-05/0.1556, allocations: 0 / 0.589 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.337e-06/0.1557, allocations: 0 / 0.589 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.912e-05/0.1557, allocations: 0 / 0.589 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.156, allocations: 51.81 kB / 0.589 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.669e-05/0.156, allocations: 15.98 kB / 0.5891 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.156, allocations: 4 kB / 0.5891 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.071e-05/0.1561, allocations: 15.97 kB / 0.5891 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.445e-05/0.1561, allocations: 15.92 kB / 0.5891 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.1562, allocations: 8 kB / 0.5891 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.1563, allocations: 87.89 kB / 0.5892 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.1564, allocations: 11.94 kB / 0.5892 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.1564, allocations: 25.7 kB / 0.5892 GB, free: 1.074 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.196e-05/0.1565, allocations: 47.88 kB / 0.5893 GB, free: 1.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1565, allocations: 0 / 0.5893 GB, free: 1.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1565, allocations: 0 / 0.5893 GB, free: 1.027 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.1565, allocations: 0 / 0.5893 GB, free: 1.027 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.0003518/0.1569, allocations: 351.5 kB / 0.5896 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1569, allocations: 12.03 kB / 0.5896 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.1569, allocations: 30.56 kB / 0.5896 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.031e-05/0.157, allocations: 0 / 0.5896 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.411e-05/0.1571, allocations: 174.9 kB / 0.5898 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.1571, allocations: 4 kB / 0.5898 GB, free: 380 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.1571, allocations: 4 kB / 0.5898 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.1572, allocations: 57.66 kB / 0.5899 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.1572, allocations: 0 / 0.5899 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.1573, allocations: 3.984 kB / 0.5899 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1573, allocations: 4 kB / 0.5899 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.778e-05/0.1573, allocations: 23.98 kB / 0.5899 GB, free: 280 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.1575, allocations: 173.5 kB / 0.5901 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.1576, allocations: 62.48 kB / 0.5901 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.1577, allocations: 24.86 kB / 0.5901 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004097/0.1581, allocations: 0.5583 MB / 0.5907 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.1581, allocations: 38.56 kB / 0.5907 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.102e-06/0.1581, allocations: 0 / 0.5907 GB, free: 15.22 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.01719/0.1753, allocations: 4.2 MB / 0.5948 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.1754, allocations: 59.36 kB / 0.5949 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.122e-05/0.1754, allocations: 97.84 kB / 0.595 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.839e-05/0.1755, allocations: 29.7 kB / 0.595 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.405e-05/0.1755, allocations: 80.14 kB / 0.5951 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.1756, allocations: 59.11 kB / 0.5951 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/0.1757, allocations: 4 kB / 0.5951 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.527e-05/0.1758, allocations: 314.8 kB / 0.5954 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.1763, allocations: 315.8 kB / 0.5957 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004998/0.1768, allocations: 304 kB / 0.596 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/0.1775, allocations: 390 kB / 0.5964 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1775, allocations: 0 / 0.5964 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001461/0.179, allocations: 0.7902 MB / 0.5972 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.179, allocations: 4 kB / 0.5972 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1791, allocations: 0 / 0.5972 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1791, allocations: 4 kB / 0.5972 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007001/0.1798, allocations: 91.94 kB / 0.5973 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.1798, allocations: 3.953 kB / 0.5973 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.1802, allocations: 8 kB / 0.5973 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/0.1803, allocations: 31.98 kB / 0.5973 GB, free: 8.293 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.1805, allocations: 125.8 kB / 0.5974 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.1805, allocations: 7.984 kB / 0.5974 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/0.1839, allocations: 1.384 MB / 0.5988 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1839, allocations: 4 kB / 0.5988 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1839, allocations: 3.938 kB / 0.5988 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.1839, allocations: 7.953 kB / 0.5988 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.1866, allocations: 1.806 MB / 0.6006 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1866, allocations: 4 kB / 0.6006 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007049/0.1873, allocations: 115.8 kB / 0.6007 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.1873, allocations: 0 / 0.6007 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.129e-05/0.1874, allocations: 28 kB / 0.6007 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.1874, allocations: 0 / 0.6007 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1874, allocations: 32 / 0.6007 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002278/0.1897, allocations: 1.457 MB / 0.6021 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.1898, allocations: 89.05 kB / 0.6022 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.938e-05/0.1899, allocations: 11.95 kB / 0.6022 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004139/0.1903, allocations: 15.94 kB / 0.6022 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.1904, allocations: 43.95 kB / 0.6023 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.077e-05/0.1905, allocations: 28 kB / 0.6023 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.332e-05/0.1905, allocations: 83.28 kB / 0.6024 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1905, allocations: 0 / 0.6024 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005599/0.1911, allocations: 168 kB / 0.6026 GB, free: 2.805 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002941/0.1941, allocations: 2.123 MB / 0.6046 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2759/0.47, allocations: 0.7181 MB / 0.6053 GB, free: 50.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.47, allocations: 0 / 0.6053 GB, free: 50.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006777/0.4707, allocations: 450 kB / 0.6058 GB, free: 50.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.4711, allocations: 17.14 kB / 0.6058 GB, free: 50.41 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.4757, allocations: 2.136 MB / 0.6079 GB, free: 50 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001113/0.4758, allocations: 0.7138 MB / 0.6086 GB, free: 49.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001441/0.4773, allocations: 296.9 kB / 0.6088 GB, free: 49.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000542/0.4778, allocations: 115.1 kB / 0.609 GB, free: 49.26 MB / 0.4981 GB Notification: Performance of SimCode: time 1.213e-06/0.4779, allocations: 0 / 0.609 GB, free: 49.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.4995, allocations: 11.64 MB / 0.6203 GB, free: 48.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001357/0.4997, allocations: 220.7 kB / 0.6205 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.732/2.232, allocations: 0 / 0.6205 GB, free: 48.36 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/linux/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) Environment - environmentSimulation: