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.001966/0.001966, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00206/0.00206, allocations: 217.7 kB / 22.26 MB, free: 5.113 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.543/1.543, allocations: 230.6 MB / 256 MB, free: 8.215 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.8325/0.8325, allocations: 134 MB / 446.4 MB, free: 10.25 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.001945/0.001945, allocations: 72.77 kB / 0.6186 GB, free: 7.176 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.183, allocations: 85.89 MB / 0.7025 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00179/0.1848, allocations: 0.6273 MB / 0.7031 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1866, allocations: 1.354 MB / 0.7044 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.1867, allocations: 0 / 0.7044 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.794e-05/0.1867, allocations: 3.938 kB / 0.7044 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.855e-05/0.1867, allocations: 0 / 0.7044 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004104/0.1871, allocations: 87.72 kB / 0.7045 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.1872, allocations: 23.92 kB / 0.7045 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.179e-05/0.1872, allocations: 0 / 0.7045 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.076e-05/0.1873, allocations: 19.92 kB / 0.7045 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.358e-05/0.1873, allocations: 11.98 kB / 0.7046 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.081e-05/0.1874, allocations: 3.938 kB / 0.7046 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002921/0.1877, allocations: 107.9 kB / 0.7047 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.1877, allocations: 3.984 kB / 0.7047 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.524e-05/0.1877, allocations: 11.94 kB / 0.7047 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1879, allocations: 79.98 kB / 0.7048 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1879, allocations: 8 kB / 0.7048 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1879, allocations: 0 / 0.7048 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.1879, allocations: 0 / 0.7048 GB, free: 15.01 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.0004542/0.1883, allocations: 274.1 kB / 0.705 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.1884, allocations: 8.031 kB / 0.705 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.454e-05/0.1884, allocations: 42.73 kB / 0.7051 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.583e-05/0.1884, allocations: 0.9375 kB / 0.7051 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.1885, allocations: 110.5 kB / 0.7052 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1885, allocations: 8.375 kB / 0.7052 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1886, allocations: 8.328 kB / 0.7052 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.1887, allocations: 57.8 kB / 0.7052 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.1887, allocations: 0 / 0.7052 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.1887, allocations: 0 / 0.7052 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1887, allocations: 0 / 0.7052 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.5e-05/0.1888, allocations: 23.98 kB / 0.7053 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002263/0.189, allocations: 136.7 kB / 0.7054 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.1892, allocations: 62.5 kB / 0.7055 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/0.1892, allocations: 20.84 kB / 0.7055 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/0.1895, allocations: 39.97 kB / 0.7055 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.1895, allocations: 34.5 kB / 0.7056 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.1895, 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.01923/0.2087, allocations: 4.11 MB / 0.7096 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.2088, allocations: 51.41 kB / 0.7096 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.846e-05/0.2089, allocations: 93.86 kB / 0.7097 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/0.2089, allocations: 29.7 kB / 0.7097 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.209, allocations: 84.27 kB / 0.7098 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.2091, allocations: 59.48 kB / 0.7099 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000257/0.2094, allocations: 89.66 kB / 0.71 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.2096, allocations: 322.8 kB / 0.7103 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005404/0.2101, allocations: 311.8 kB / 0.7106 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005262/0.2106, allocations: 319.7 kB / 0.7109 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.2121, allocations: 0.7491 MB / 0.7116 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2121, allocations: 0 / 0.7116 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001585/0.2137, allocations: 0.802 MB / 0.7124 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2137, allocations: 6.344 kB / 0.7124 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.2137, allocations: 0.9375 kB / 0.7124 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.2137, allocations: 0 / 0.7124 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007999/0.2145, allocations: 95.88 kB / 0.7125 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.2146, allocations: 4 kB / 0.7125 GB, free: 6.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004576/0.215, allocations: 8 kB / 0.7125 GB, free: 6.836 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.87e-05/0.2151, allocations: 35.92 kB / 0.7125 GB, free: 6.801 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.0002143/0.2153, allocations: 121.8 kB / 0.7126 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.2154, allocations: 11.95 kB / 0.7127 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003338/0.2187, allocations: 1.388 MB / 0.714 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.2187, allocations: 4 kB / 0.714 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2187, allocations: 4 kB / 0.714 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.2187, allocations: 0 / 0.714 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003075/0.2218, allocations: 1.774 MB / 0.7157 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.2218, allocations: 3.938 kB / 0.7157 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007753/0.2226, allocations: 111.9 kB / 0.7159 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.2226, allocations: 0 / 0.7159 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-05/0.2227, allocations: 35.92 kB / 0.7159 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.2227, allocations: 0 / 0.7159 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2227, allocations: 0 / 0.7159 GB, free: 3.281 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002539/0.2252, allocations: 1.463 MB / 0.7173 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.2253, allocations: 15.88 kB / 0.7173 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.51e-05/0.2253, allocations: 11.94 kB / 0.7173 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.2258, allocations: 12 kB / 0.7174 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.226, allocations: 39.95 kB / 0.7174 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.627e-05/0.2261, allocations: 32 kB / 0.7174 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.252e-05/0.2261, allocations: 83.33 kB / 0.7175 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2261, allocations: 0 / 0.7175 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006245/0.2267, 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.003188/0.2299, allocations: 2.111 MB / 0.7197 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001295/0.2312, allocations: 0.7192 MB / 0.7204 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.2312, allocations: 0 / 0.7204 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006649/0.2319, allocations: 403.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.0003283/0.2322, allocations: 23.98 kB / 0.7208 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007533/0.2397, allocations: 3.698 MB / 0.7245 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000347/0.2401, allocations: 0.718 MB / 0.7252 GB, free: 9.629 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001046/0.2411, allocations: 293.5 kB / 0.7254 GB, free: 9.344 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000588/0.2417, allocations: 123.4 kB / 0.7256 GB, free: 9.223 MB / 0.545 GB Notification: Performance of SimCode: time 1.313e-06/0.2417, allocations: 3.938 kB / 0.7256 GB, free: 9.219 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05999/0.3017, allocations: 13.44 MB / 0.7387 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.15, allocations: 4.422 kB / 0.7387 GB, free: 11.95 MB / 0.5606 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.39991899299639] Failed to read output from testmodel.py, exit status != 0: 11.25768757500191 11.595582229 11.403859202 Calling exit ...