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.001477/0.001477, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 195.8 kB / 16.53 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9273/0.9273, allocations: 135.1 MB / 425.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.83 kB / 0.5055 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1386, allocations: 80.92 MB / 0.5845 GB, free: 4.449 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001848/0.1405, allocations: 0.6024 MB / 0.5851 GB, free: 3.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.1422, allocations: 1.269 MB / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.338e-05/0.1422, allocations: 4 kB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.1422, allocations: 3.938 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.893e-05/0.1423, allocations: 0 / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003644/0.1426, allocations: 71.73 kB / 0.5864 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.016e-05/0.1427, allocations: 19.98 kB / 0.5864 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.514e-05/0.1427, allocations: 0 / 0.5864 GB, free: 2.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.42e-05/0.1428, allocations: 19.92 kB / 0.5864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.1428, allocations: 19.92 kB / 0.5864 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.1428, allocations: 0 / 0.5864 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.1431, allocations: 103.8 kB / 0.5865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.1431, allocations: 3.984 kB / 0.5865 GB, free: 2.316 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.396e-05/0.1431, allocations: 11.94 kB / 0.5866 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.1432, allocations: 63.84 kB / 0.5866 GB, free: 2.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1433, allocations: 4 kB / 0.5866 GB, free: 2.238 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1433, allocations: 0 / 0.5866 GB, free: 2.238 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1433, allocations: 0 / 0.5866 GB, free: 2.238 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.000425/0.1437, allocations: 351.8 kB / 0.587 GB, free: 1.848 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1437, allocations: 8.031 kB / 0.587 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.427e-05/0.1438, allocations: 30.75 kB / 0.587 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.1438, allocations: 4.938 kB / 0.587 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.1439, allocations: 168.3 kB / 0.5872 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1439, allocations: 8.375 kB / 0.5872 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.144, allocations: 384 / 0.5872 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.1441, allocations: 53.81 kB / 0.5872 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.1441, allocations: 3.938 kB / 0.5872 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1441, allocations: 4 kB / 0.5872 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1441, allocations: 4 kB / 0.5872 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.042e-05/0.1442, allocations: 23.97 kB / 0.5873 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.1444, allocations: 165.6 kB / 0.5874 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.1445, allocations: 58.56 kB / 0.5875 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.1445, allocations: 28.84 kB / 0.5875 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005168/0.145, allocations: 0.5583 MB / 0.588 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1451, allocations: 42.38 kB / 0.5881 GB, free: 456 kB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1451, allocations: 4 kB / 0.5881 GB, free: 452 kB / 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.01999/0.1651, allocations: 4.317 MB / 0.5923 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.1652, allocations: 51.41 kB / 0.5923 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.685e-05/0.1652, allocations: 93.86 kB / 0.5924 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.367e-05/0.1653, allocations: 29.7 kB / 0.5925 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.329e-05/0.1653, allocations: 80.14 kB / 0.5925 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.1654, allocations: 59.11 kB / 0.5926 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.1657, allocations: 89.66 kB / 0.5927 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.695e-05/0.1658, allocations: 326.9 kB / 0.593 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005008/0.1663, allocations: 303.9 kB / 0.5933 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.1668, allocations: 311.9 kB / 0.5936 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.1682, allocations: 0.7527 MB / 0.5943 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1682, allocations: 0 / 0.5943 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001491/0.1697, allocations: 0.7941 MB / 0.5951 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.1698, allocations: 8 kB / 0.5951 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.1698, allocations: 0 / 0.5951 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.1698, allocations: 0 / 0.5951 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008494/0.1706, allocations: 95.89 kB / 0.5952 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1707, allocations: 0 / 0.5952 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/0.1712, allocations: 15.98 kB / 0.5952 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/0.1713, allocations: 31.98 kB / 0.5952 GB, free: 8.922 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.0001771/0.1715, allocations: 125.7 kB / 0.5954 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.081e-05/0.1716, allocations: 0 / 0.5954 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003203/0.1748, allocations: 1.384 MB / 0.5967 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.1748, allocations: 11.94 kB / 0.5967 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.1748, allocations: 3.984 kB / 0.5967 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1748, allocations: 4 kB / 0.5967 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/0.1776, allocations: 1.817 MB / 0.5985 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1776, allocations: 0 / 0.5985 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008227/0.1784, allocations: 111.9 kB / 0.5986 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1785, allocations: 0 / 0.5986 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.987e-05/0.1785, allocations: 35.92 kB / 0.5986 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.1785, allocations: 4 kB / 0.5987 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1786, allocations: 0 / 0.5987 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.1808, allocations: 1.457 MB / 0.6001 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.1809, allocations: 88.98 kB / 0.6002 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.181, allocations: 15.94 kB / 0.6002 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005417/0.1816, allocations: 8 kB / 0.6002 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.1817, allocations: 43.97 kB / 0.6002 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-05/0.1818, allocations: 35.92 kB / 0.6003 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.485e-05/0.1818, allocations: 79.34 kB / 0.6003 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1818, allocations: 0 / 0.6003 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005606/0.1824, allocations: 172 kB / 0.6005 GB, free: 3.422 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.002893/0.1853, allocations: 2.119 MB / 0.6026 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.1866, allocations: 0.7417 MB / 0.6033 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.1866, allocations: 0 / 0.6033 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006294/0.1872, allocations: 448.1 kB / 0.6037 GB, free: 100 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/0.1876, allocations: 21.88 kB / 0.6037 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.222/0.4096, allocations: 3.686 MB / 0.6073 GB, free: 51.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.4098, allocations: 0.7151 MB / 0.608 GB, free: 51.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001341/0.4111, allocations: 297.8 kB / 0.6083 GB, free: 51.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/0.4117, allocations: 120.6 kB / 0.6084 GB, free: 50.99 MB / 0.4981 GB Notification: Performance of SimCode: time 7.72e-07/0.4117, allocations: 0 / 0.6084 GB, free: 50.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02623/0.4379, allocations: 12.62 MB / 0.6208 GB, free: 50.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.54/8.978, allocations: 9.891 kB / 0.6208 GB, free: 50.12 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)