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.00124/0.00124, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001392/0.001392, allocations: 214.2 kB / 23.04 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.437/1.437, allocations: 230.6 MB / 256.8 MB, free: 8.078 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.8617/0.8617, allocations: 134 MB / 447.2 MB, free: 10.34 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="cs",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.001929/0.001929, allocations: 67.73 kB / 0.6194 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1591, allocations: 85.9 MB / 0.7033 GB, free: 1.41 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001729/0.1608, allocations: 0.6148 MB / 0.7039 GB, free: 0.7969 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1627, allocations: 1.358 MB / 0.7052 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.1628, allocations: 0 / 0.7052 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.1628, allocations: 0 / 0.7052 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.402e-05/0.1628, allocations: 4 kB / 0.7052 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.1632, allocations: 87.67 kB / 0.7053 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.566e-05/0.1633, allocations: 19.97 kB / 0.7053 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.1633, allocations: 4 kB / 0.7053 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.388e-05/0.1634, allocations: 11.94 kB / 0.7053 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.1634, allocations: 15.92 kB / 0.7053 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1634, allocations: 4 kB / 0.7053 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002758/0.1637, allocations: 111.8 kB / 0.7054 GB, free: 15.17 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.1637, allocations: 11.98 kB / 0.7054 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.195e-05/0.1638, allocations: 7.938 kB / 0.7054 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001663/0.1639, allocations: 80 kB / 0.7055 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1639, allocations: 0 / 0.7055 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1639, allocations: 0 / 0.7055 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.1639, allocations: 0 / 0.7055 GB, free: 15.07 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.0004471/0.1644, allocations: 278.2 kB / 0.7058 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1644, allocations: 15.97 kB / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.514e-05/0.1644, allocations: 192 / 0.7058 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.088e-05/0.1645, allocations: 38.73 kB / 0.7058 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.1645, allocations: 4.938 kB / 0.7058 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.317e-05/0.1646, allocations: 102.5 kB / 0.7059 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1646, allocations: 8.375 kB / 0.706 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.1646, allocations: 8.328 kB / 0.706 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001347/0.1648, allocations: 57.61 kB / 0.706 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.1648, allocations: 0 / 0.706 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.1648, allocations: 4 kB / 0.706 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.1648, allocations: 0 / 0.706 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/0.1649, allocations: 27.92 kB / 0.706 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001898/0.1651, allocations: 136.8 kB / 0.7062 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1652, allocations: 54.56 kB / 0.7062 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.523e-05/0.1652, allocations: 20.84 kB / 0.7062 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002525/0.1655, allocations: 47.84 kB / 0.7063 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1655, allocations: 34.56 kB / 0.7063 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1655, allocations: 0 / 0.7063 GB, free: 14.12 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.01978/0.1853, allocations: 4.098 MB / 0.7103 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.1854, allocations: 63.34 kB / 0.7104 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1855, allocations: 89.86 kB / 0.7105 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.899e-05/0.1856, allocations: 33.7 kB / 0.7105 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.1856, allocations: 84.12 kB / 0.7106 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.1858, allocations: 55.48 kB / 0.7106 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002932/0.186, allocations: 93.66 kB / 0.7107 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002272/0.1863, allocations: 322.8 kB / 0.711 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005828/0.1869, allocations: 303.9 kB / 0.7113 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.1874, allocations: 325.9 kB / 0.7116 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001507/0.1889, allocations: 0.7468 MB / 0.7124 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1889, allocations: 0 / 0.7124 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001595/0.1905, allocations: 0.7966 MB / 0.7131 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.1905, allocations: 8 kB / 0.7132 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.1905, allocations: 0 / 0.7132 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.1906, allocations: 3.938 kB / 0.7132 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008434/0.1914, allocations: 87.95 kB / 0.7132 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1914, allocations: 3.984 kB / 0.7132 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.1919, allocations: 12 kB / 0.7133 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.062e-05/0.192, allocations: 39.92 kB / 0.7133 GB, free: 6.852 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.000232/0.1923, allocations: 117.8 kB / 0.7134 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.35e-05/0.1923, allocations: 7.953 kB / 0.7134 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003208/0.1956, allocations: 1.384 MB / 0.7148 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/0.1956, allocations: 7.984 kB / 0.7148 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1956, allocations: 0 / 0.7148 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.1956, allocations: 4 kB / 0.7148 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.1986, allocations: 1.786 MB / 0.7165 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1986, allocations: 0 / 0.7165 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007938/0.1994, allocations: 107.9 kB / 0.7166 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/0.1994, allocations: 7.938 kB / 0.7166 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.609e-05/0.1995, allocations: 28.02 kB / 0.7167 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.1995, allocations: 11.94 kB / 0.7167 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1995, allocations: 0 / 0.7167 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.2021, allocations: 1.451 MB / 0.7181 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.607e-05/0.2021, allocations: 19.83 kB / 0.7181 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.2022, allocations: 11.94 kB / 0.7181 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005114/0.2027, allocations: 8 kB / 0.7181 GB, free: 1.812 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.2029, allocations: 48.02 kB / 0.7182 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.966e-05/0.203, allocations: 32 kB / 0.7182 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.511e-05/0.203, allocations: 75.28 kB / 0.7183 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.203, allocations: 0 / 0.7183 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005964/0.2036, allocations: 187.6 kB / 0.7185 GB, free: 1.477 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.003432/0.207, allocations: 2.115 MB / 0.7205 GB, free: 15.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.2084, allocations: 0.7112 MB / 0.7212 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.2084, allocations: 4 kB / 0.7212 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006552/0.209, allocations: 399.6 kB / 0.7216 GB, free: 14.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.2093, allocations: 16 kB / 0.7216 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008112/0.2175, allocations: 3.704 MB / 0.7252 GB, free: 10.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.2178, allocations: 0.7141 MB / 0.7259 GB, free: 9.684 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001028/0.2189, allocations: 293.5 kB / 0.7262 GB, free: 9.398 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006014/0.2195, allocations: 119.4 kB / 0.7263 GB, free: 9.281 MB / 0.545 GB Notification: Performance of SimCode: time 1.342e-06/0.2195, allocations: 0 / 0.7263 GB, free: 9.281 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03985/0.2593, allocations: 13.47 MB / 0.7395 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.42, allocations: 8 kB / 0.7395 GB, free: 11.98 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 sys.exit(0), Time elapsed: 15.523806437035091] Failed to read output from testmodel.py, exit status != 0: 11.586639720015228 11.937419987 11.76993173 Calling exit ...