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.0008306/0.0008306, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005032/0.005032, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.178/1.178, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8148/0.8148, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003196, allocations: 8 kB / 0.5077 GB, free: 4.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1323, allocations: 82.32 MB / 0.5881 GB, free: 2.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0005769/0.1329, allocations: 339 kB / 0.5884 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1343, allocations: 1.269 MB / 0.5897 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.209e-05/0.1343, allocations: 0 / 0.5897 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.121e-05/0.1343, allocations: 0 / 0.5897 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.474e-05/0.1343, allocations: 0 / 0.5897 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.1346, allocations: 51.86 kB / 0.5897 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.037e-05/0.1346, allocations: 19.98 kB / 0.5897 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.008e-05/0.1346, allocations: 0 / 0.5897 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.326e-05/0.1347, allocations: 15.94 kB / 0.5897 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.19e-05/0.1347, allocations: 19.91 kB / 0.5898 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.776e-06/0.1347, allocations: 3.938 kB / 0.5898 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.1349, allocations: 95.91 kB / 0.5899 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.1349, allocations: 7.969 kB / 0.5899 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.749e-05/0.135, allocations: 37.64 kB / 0.5899 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.1351, allocations: 59.86 kB / 0.59 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.1351, allocations: 0 / 0.59 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1351, allocations: 0 / 0.59 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.735e-06/0.1351, allocations: 0 / 0.59 GB, free: 0.5586 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.0003165/0.1354, allocations: 351.7 kB / 0.5903 GB, free: 172 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.861e-05/0.1355, allocations: 12.03 kB / 0.5903 GB, free: 160 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.803e-05/0.1355, allocations: 34.75 kB / 0.5903 GB, free: 116 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.012e-05/0.1355, allocations: 4.938 kB / 0.5903 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.842e-05/0.1356, allocations: 164.3 kB / 0.5905 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.1356, allocations: 4.375 kB / 0.5905 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.1357, allocations: 12.3 kB / 0.5905 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.303e-05/0.1358, allocations: 49.81 kB / 0.5906 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1358, allocations: 0 / 0.5906 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1358, allocations: 8 kB / 0.5906 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.1358, allocations: 4 kB / 0.5906 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.387e-05/0.1359, allocations: 23.97 kB / 0.5906 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001348/0.136, allocations: 169.6 kB / 0.5908 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.35e-05/0.1361, allocations: 62.5 kB / 0.5908 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.444e-05/0.1361, allocations: 20.84 kB / 0.5908 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003889/0.1365, allocations: 0.5583 MB / 0.5914 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.1366, allocations: 38.5 kB / 0.5914 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.1366, allocations: 4 kB / 0.5914 GB, free: 14.76 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.01789/0.1545, allocations: 4.211 MB / 0.5955 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/0.1545, allocations: 51.41 kB / 0.5956 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.335e-05/0.1546, allocations: 97.86 kB / 0.5957 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.073e-05/0.1546, allocations: 29.7 kB / 0.5957 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.102e-05/0.1547, allocations: 80.14 kB / 0.5958 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.463e-05/0.1548, allocations: 59.11 kB / 0.5958 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/0.1549, allocations: 21.7 kB / 0.5959 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/0.1549, allocations: 318.8 kB / 0.5962 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004698/0.1554, allocations: 315.8 kB / 0.5965 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.1559, allocations: 307.9 kB / 0.5968 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.1573, allocations: 0.7565 MB / 0.5975 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1573, allocations: 0 / 0.5975 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001389/0.1587, allocations: 0.7968 MB / 0.5983 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.1587, allocations: 4 kB / 0.5983 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.1587, allocations: 0 / 0.5983 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.1587, allocations: 0 / 0.5983 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007529/0.1595, allocations: 95.94 kB / 0.5984 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1595, allocations: 3.938 kB / 0.5984 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/0.16, allocations: 8 kB / 0.5984 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.116e-05/0.1601, allocations: 35.98 kB / 0.5984 GB, free: 7.406 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.0001645/0.1602, allocations: 129.7 kB / 0.5985 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.558e-05/0.1603, allocations: 4 kB / 0.5985 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/0.1634, allocations: 1.392 MB / 0.5999 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1634, allocations: 4 kB / 0.5999 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1634, allocations: 0 / 0.5999 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1634, allocations: 0 / 0.5999 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.1659, allocations: 1.809 MB / 0.6017 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1659, allocations: 4 kB / 0.6017 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007489/0.1667, allocations: 107.9 kB / 0.6018 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1667, allocations: 3.938 kB / 0.6018 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/0.1667, allocations: 35.92 kB / 0.6018 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1667, allocations: 0 / 0.6018 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1667, allocations: 0 / 0.6018 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.1688, allocations: 1.461 MB / 0.6032 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.1689, allocations: 89.05 kB / 0.6033 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/0.169, allocations: 11.94 kB / 0.6033 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005054/0.1695, allocations: 12 kB / 0.6034 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.1696, allocations: 39.97 kB / 0.6034 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.255e-05/0.1697, allocations: 31.98 kB / 0.6034 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.1697, allocations: 79.34 kB / 0.6035 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1697, allocations: 0 / 0.6035 GB, free: 2.082 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004737/0.1702, allocations: 172 kB / 0.6037 GB, free: 1.914 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.1992/0.3694, allocations: 2.114 MB / 0.6057 GB, free: 49.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001087/0.3705, allocations: 0.7257 MB / 0.6064 GB, free: 49.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3706, allocations: 2.844 kB / 0.6064 GB, free: 49.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004921/0.3711, allocations: 452.9 kB / 0.6069 GB, free: 49.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.3714, allocations: 16.75 kB / 0.6069 GB, free: 49.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006118/0.3775, allocations: 3.746 MB / 0.6105 GB, free: 47.79 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.307e-05/0.3776, allocations: 0.7204 MB / 0.6112 GB, free: 47.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001261/0.3789, allocations: 288.8 kB / 0.6115 GB, free: 47.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005026/0.3794, allocations: 124.3 kB / 0.6116 GB, free: 47.04 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.3794, allocations: 0 / 0.6116 GB, free: 47.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.118/2.498, allocations: 11.88 MB / 0.6232 GB, free: 46.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/2.498, allocations: 222 kB / 0.6234 GB, free: 46.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/4.378, allocations: 4 kB / 0.6235 GB, free: 46.14 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)