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.001502/0.001502, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001607/0.001607, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9736/0.9736, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.44 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1767, allocations: 80.93 MB / 0.584 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001919/0.1786, allocations: 0.6622 MB / 0.5846 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.1802, allocations: 1.273 MB / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.943e-05/0.1802, allocations: 0 / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.1802, allocations: 0 / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 1.744e-05/0.1803, allocations: 0 / 0.5859 GB, free: 2.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.1807, allocations: 59.86 kB / 0.586 GB, free: 2.766 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.03e-05/0.1807, allocations: 23.98 kB / 0.586 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.198e-05/0.1808, allocations: 4 kB / 0.586 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.139e-05/0.1808, allocations: 11.92 kB / 0.586 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.1809, allocations: 23.84 kB / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.1809, allocations: 8 kB / 0.586 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.1811, allocations: 91.84 kB / 0.5861 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.1811, allocations: 11.98 kB / 0.5861 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.1811, allocations: 7.922 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001311/0.1813, allocations: 63.86 kB / 0.5862 GB, free: 2.523 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1813, allocations: 4 kB / 0.5862 GB, free: 2.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1813, allocations: 0 / 0.5862 GB, free: 2.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1813, allocations: 0 / 0.5862 GB, free: 2.52 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.0004185/0.1817, allocations: 351.8 kB / 0.5865 GB, free: 2.129 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.1818, allocations: 8.031 kB / 0.5865 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.437e-05/0.1818, allocations: 38.75 kB / 0.5866 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.1818, allocations: 0.9375 kB / 0.5866 GB, free: 2.074 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.458e-05/0.1819, allocations: 168.3 kB / 0.5867 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.182, allocations: 384 / 0.5867 GB, free: 1.871 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.182, allocations: 4.375 kB / 0.5867 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.1821, allocations: 61.73 kB / 0.5868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.1821, allocations: 0 / 0.5868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1821, allocations: 0 / 0.5868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1821, allocations: 4 kB / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/0.1822, allocations: 27.98 kB / 0.5868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001578/0.1824, allocations: 165.6 kB / 0.587 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1825, allocations: 58.55 kB / 0.587 GB, free: 1.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.1825, allocations: 28.8 kB / 0.5871 GB, free: 1.461 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004433/0.183, allocations: 0.5622 MB / 0.5876 GB, free: 0.7695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.183, allocations: 38.5 kB / 0.5877 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of pre-optimization done (n=8): time 2.375e-06/0.183, allocations: 0 / 0.5877 GB, free: 0.7227 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.01978/0.2028, allocations: 4.304 MB / 0.5919 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.2029, allocations: 55.41 kB / 0.5919 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.135e-05/0.203, allocations: 89.86 kB / 0.592 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-05/0.203, allocations: 29.7 kB / 0.592 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.573e-05/0.2031, allocations: 80.14 kB / 0.5921 GB, free: 12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.2032, allocations: 63.09 kB / 0.5922 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.2035, allocations: 89.67 kB / 0.5922 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.2036, allocations: 326.9 kB / 0.5926 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005017/0.2041, allocations: 307.9 kB / 0.5928 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.2046, allocations: 314.2 kB / 0.5931 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.206, allocations: 0.7468 MB / 0.5939 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.206, allocations: 3.938 kB / 0.5939 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001481/0.2075, allocations: 0.7923 MB / 0.5947 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.2075, allocations: 4 kB / 0.5947 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.2075, allocations: 0 / 0.5947 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.2076, allocations: 4 kB / 0.5947 GB, free: 9.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007974/0.2084, allocations: 91.94 kB / 0.5948 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.2084, allocations: 4 kB / 0.5948 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005061/0.2089, allocations: 11.94 kB / 0.5948 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.726e-05/0.209, allocations: 39.91 kB / 0.5948 GB, free: 9.207 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.0002028/0.2092, allocations: 121.8 kB / 0.5949 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.608e-05/0.2093, allocations: 4 kB / 0.5949 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/0.2127, allocations: 1.384 MB / 0.5963 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.2127, allocations: 11.94 kB / 0.5963 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2127, allocations: 0 / 0.5963 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2127, allocations: 3.984 kB / 0.5963 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002843/0.2156, allocations: 1.817 MB / 0.5981 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.2156, allocations: 0 / 0.5981 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000775/0.2164, allocations: 107.9 kB / 0.5982 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.2164, allocations: 4 kB / 0.5982 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.117e-05/0.2165, allocations: 27.94 kB / 0.5982 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.2165, allocations: 0 / 0.5982 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2165, allocations: 4 kB / 0.5982 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/0.2188, allocations: 1.457 MB / 0.5996 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.823e-05/0.2188, allocations: 92.98 kB / 0.5997 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.694e-05/0.219, allocations: 11.88 kB / 0.5997 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005138/0.2195, allocations: 15.98 kB / 0.5997 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.2196, allocations: 43.97 kB / 0.5998 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.486e-05/0.2197, allocations: 32 kB / 0.5998 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.304e-05/0.2198, allocations: 79.34 kB / 0.5999 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2198, allocations: 0 / 0.5999 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005845/0.2204, allocations: 179.9 kB / 0.6001 GB, free: 3.707 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.002979/0.2233, allocations: 2.108 MB / 0.6021 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.2247, allocations: 0.7496 MB / 0.6029 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.2247, allocations: 0 / 0.6029 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006745/0.2254, allocations: 452.1 kB / 0.6033 GB, free: 388 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.2257, allocations: 12 kB / 0.6033 GB, free: 376 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2265/0.4522, allocations: 3.748 MB / 0.607 GB, free: 51.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.4523, allocations: 0.7146 MB / 0.6077 GB, free: 51.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001311/0.4537, allocations: 291.8 kB / 0.6079 GB, free: 51.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005418/0.4542, allocations: 120.3 kB / 0.608 GB, free: 51.04 MB / 0.4981 GB Notification: Performance of SimCode: time 8.22e-07/0.4542, allocations: 4 kB / 0.608 GB, free: 51.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02504/0.4793, allocations: 12.55 MB / 0.6203 GB, free: 50.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/0.4795, allocations: 220.8 kB / 0.6205 GB, free: 50.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.832/2.311, allocations: 4 kB / 0.6205 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)