Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 216 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.493/1.493, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8874/0.8874, allocations: 134 MB / 446.4 MB, free: 10.28 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 70.33 kB / 0.6186 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.164, allocations: 85.9 MB / 0.7025 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001755/0.1658, allocations: 0.6251 MB / 0.7031 GB, free: 0.7461 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1677, allocations: 1.354 MB / 0.7044 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.1677, allocations: 4 kB / 0.7044 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.1677, allocations: 3.938 kB / 0.7044 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.023e-05/0.1677, allocations: 0 / 0.7044 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003566/0.1681, allocations: 83.73 kB / 0.7045 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.812e-05/0.1681, allocations: 23.91 kB / 0.7045 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.499e-05/0.1682, allocations: 4 kB / 0.7045 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.347e-05/0.1682, allocations: 15.92 kB / 0.7045 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.1683, allocations: 11.98 kB / 0.7046 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.173e-05/0.1683, allocations: 7.938 kB / 0.7046 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002607/0.1685, allocations: 103.9 kB / 0.7047 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.1686, allocations: 7.984 kB / 0.7047 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.1686, allocations: 15.92 kB / 0.7047 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1687, allocations: 72.02 kB / 0.7048 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1687, allocations: 4 kB / 0.7048 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1687, allocations: 0 / 0.7048 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1687, allocations: 0 / 0.7048 GB, free: 15.02 MB / 0.5294 GB 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.0004236/0.1692, allocations: 274.2 kB / 0.705 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.1692, allocations: 12.03 kB / 0.705 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.963e-05/0.1692, allocations: 34.75 kB / 0.7051 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.471e-05/0.1693, allocations: 4.938 kB / 0.7051 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.43e-05/0.1693, allocations: 106.5 kB / 0.7052 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1694, allocations: 12.38 kB / 0.7052 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.1694, allocations: 8.312 kB / 0.7052 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.1695, allocations: 57.8 kB / 0.7052 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1695, allocations: 0 / 0.7052 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.1695, allocations: 4 kB / 0.7052 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1695, allocations: 0 / 0.7052 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.519e-05/0.1696, allocations: 27.95 kB / 0.7053 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.1698, allocations: 132.8 kB / 0.7054 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1699, allocations: 62.5 kB / 0.7055 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.068e-05/0.1699, allocations: 24.84 kB / 0.7055 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000223/0.1701, allocations: 35.97 kB / 0.7055 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.1702, allocations: 38.5 kB / 0.7056 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.011e-06/0.1702, allocations: 0 / 0.7056 GB, free: 14.07 MB / 0.5294 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.01981/0.19, allocations: 4.108 MB / 0.7096 GB, free: 9.895 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.19, allocations: 55.41 kB / 0.7096 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.578e-05/0.1901, allocations: 89.86 kB / 0.7097 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.1902, allocations: 33.69 kB / 0.7097 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.931e-05/0.1902, allocations: 88.27 kB / 0.7098 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1904, allocations: 59.47 kB / 0.7099 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.1906, allocations: 89.67 kB / 0.71 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1907, allocations: 322.8 kB / 0.7103 GB, free: 9.125 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/0.1913, allocations: 307.9 kB / 0.7106 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005309/0.1918, allocations: 319.7 kB / 0.7109 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.1933, allocations: 0.7491 MB / 0.7116 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-06/0.1933, allocations: 4 kB / 0.7116 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001551/0.1948, allocations: 0.7903 MB / 0.7124 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1949, allocations: 4 kB / 0.7124 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1949, allocations: 0 / 0.7124 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.1949, allocations: 4 kB / 0.7124 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008242/0.1957, allocations: 99.88 kB / 0.7125 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.1957, allocations: 0 / 0.7125 GB, free: 6.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005031/0.1962, allocations: 8 kB / 0.7125 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.22e-05/0.1963, allocations: 39.91 kB / 0.7125 GB, free: 6.809 MB / 0.5294 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.0001988/0.1965, allocations: 121.8 kB / 0.7126 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.1966, allocations: 11.95 kB / 0.7127 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003205/0.1998, allocations: 1.384 MB / 0.714 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.1998, allocations: 8 kB / 0.714 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1998, allocations: 0 / 0.714 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.233e-06/0.1998, allocations: 3.984 kB / 0.714 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.2029, allocations: 1.786 MB / 0.7158 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2029, allocations: 3.938 kB / 0.7158 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007913/0.2037, allocations: 107.9 kB / 0.7159 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.2037, allocations: 4 kB / 0.7159 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.631e-05/0.2038, allocations: 27.94 kB / 0.7159 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2038, allocations: 0 / 0.7159 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2038, allocations: 4 kB / 0.7159 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.2062, allocations: 1.455 MB / 0.7173 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.468e-05/0.2062, allocations: 23.88 kB / 0.7173 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.2063, allocations: 7.938 kB / 0.7174 GB, free: 1.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004902/0.2068, allocations: 12 kB / 0.7174 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.207, allocations: 47.94 kB / 0.7174 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.2071, allocations: 28 kB / 0.7174 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.947e-05/0.2071, allocations: 83.34 kB / 0.7175 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2071, allocations: 0 / 0.7175 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005836/0.2077, allocations: 179.7 kB / 0.7177 GB, free: 1.43 MB / 0.5294 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.003167/0.2109, allocations: 2.107 MB / 0.7197 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001303/0.2122, allocations: 0.7153 MB / 0.7204 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.2122, allocations: 0 / 0.7204 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006744/0.2129, allocations: 411.6 kB / 0.7208 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.2132, allocations: 18.5 kB / 0.7209 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00779/0.221, allocations: 3.69 MB / 0.7245 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.2214, allocations: 0.7219 MB / 0.7252 GB, free: 9.637 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001073/0.2225, allocations: 289.5 kB / 0.7254 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005781/0.2231, allocations: 119.4 kB / 0.7256 GB, free: 9.238 MB / 0.545 GB Notification: Performance of SimCode: time 1.873e-06/0.2231, allocations: 3.938 kB / 0.7256 GB, free: 9.234 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0476/0.2707, allocations: 13.44 MB / 0.7387 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.54, allocations: 6.469 kB / 0.7387 GB, free: 11.95 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.544911294942722] Failed to read output from testmodel.py, exit status != 0: 11.658318558009341 12.038174527 11.865366079 Calling exit ...