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.0018/0.0018, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00214/0.00214, allocations: 215.3 kB / 22.24 MB, free: 5.262 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.504/1.504, allocations: 230.6 MB / 256 MB, free: 7.82 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.8985/0.8985, allocations: 134 MB / 446.4 MB, free: 9.977 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.002532/0.002532, allocations: 73.08 kB / 0.6185 GB, free: 6.867 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1839, allocations: 85.91 MB / 0.7024 GB, free: 1.035 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002758/0.1867, allocations: 0.607 MB / 0.703 GB, free: 440 kB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.002359/0.189, allocations: 1.296 MB / 0.7043 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.1891, allocations: 0 / 0.7043 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.1891, allocations: 0 / 0.7043 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.368e-05/0.1891, allocations: 0 / 0.7043 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005473/0.1896, allocations: 87.66 kB / 0.7044 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.551e-05/0.1897, allocations: 19.92 kB / 0.7044 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.1898, allocations: 8 kB / 0.7044 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.917e-05/0.1898, allocations: 11.98 kB / 0.7044 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.871e-05/0.1899, allocations: 15.92 kB / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1899, allocations: 0 / 0.7044 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003027/0.1902, allocations: 99.89 kB / 0.7045 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.1902, allocations: 7.984 kB / 0.7045 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.494e-05/0.1902, allocations: 11.94 kB / 0.7045 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1904, allocations: 79.98 kB / 0.7046 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1904, allocations: 0 / 0.7046 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1904, allocations: 0 / 0.7046 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.1904, allocations: 0 / 0.7046 GB, free: 14.78 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.0005168/0.191, allocations: 278.2 kB / 0.7049 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.191, allocations: 12.02 kB / 0.7049 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.1911, allocations: 38.69 kB / 0.7049 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.1911, allocations: 8.875 kB / 0.7049 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.1913, allocations: 102.5 kB / 0.705 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1913, allocations: 4.375 kB / 0.705 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.313e-05/0.1913, allocations: 12.33 kB / 0.705 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.1915, allocations: 83.44 kB / 0.7051 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.1915, allocations: 4 kB / 0.7051 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.1915, allocations: 4 kB / 0.7051 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.1915, allocations: 0 / 0.7051 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.336e-05/0.1916, allocations: 23.92 kB / 0.7052 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002356/0.1919, allocations: 136.8 kB / 0.7053 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.192, allocations: 58.62 kB / 0.7053 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.033e-05/0.1921, allocations: 24.83 kB / 0.7054 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.1923, allocations: 39.97 kB / 0.7054 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.1924, allocations: 34.5 kB / 0.7054 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.1924, allocations: 4 kB / 0.7054 GB, free: 13.79 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.2122, allocations: 4.1 MB / 0.7094 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.2122, allocations: 55.41 kB / 0.7095 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.35e-05/0.2123, allocations: 97.78 kB / 0.7096 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.468e-05/0.2124, allocations: 29.7 kB / 0.7096 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.2125, allocations: 84.27 kB / 0.7097 GB, free: 9.324 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.2126, allocations: 63.42 kB / 0.7098 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.2128, allocations: 89.67 kB / 0.7098 GB, free: 9.168 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.213, allocations: 322.8 kB / 0.7101 GB, free: 8.844 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/0.2135, allocations: 307.9 kB / 0.7104 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000536/0.214, allocations: 311.8 kB / 0.7107 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.2156, allocations: 0.7569 MB / 0.7115 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2156, allocations: 3.938 kB / 0.7115 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001583/0.2172, allocations: 0.7864 MB / 0.7123 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.2172, allocations: 4 kB / 0.7123 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2172, allocations: 0 / 0.7123 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.2172, allocations: 15.94 kB / 0.7123 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/0.2181, allocations: 91.94 kB / 0.7124 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.2181, allocations: 0 / 0.7124 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005274/0.2186, allocations: 12 kB / 0.7124 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.868e-05/0.2187, allocations: 31.97 kB / 0.7124 GB, free: 6.531 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.0002045/0.2189, allocations: 125.7 kB / 0.7125 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.623e-05/0.219, allocations: 7.953 kB / 0.7125 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/0.2222, allocations: 1.384 MB / 0.7139 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.2222, allocations: 4 kB / 0.7139 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.2222, allocations: 0 / 0.7139 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.2222, allocations: 3.984 kB / 0.7139 GB, free: 4.988 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.2255, allocations: 1.692 MB / 0.7155 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2255, allocations: 3.984 kB / 0.7155 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008157/0.2263, allocations: 107.9 kB / 0.7156 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.2263, allocations: 8.031 kB / 0.7157 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.307e-05/0.2264, allocations: 27.94 kB / 0.7157 GB, free: 3.102 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.2264, allocations: 4 kB / 0.7157 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.2264, allocations: 3.938 kB / 0.7157 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.2291, allocations: 1.455 MB / 0.7171 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.2291, allocations: 15.88 kB / 0.7171 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.361e-05/0.2292, allocations: 11.94 kB / 0.7171 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005359/0.2297, allocations: 16 kB / 0.7171 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.2299, allocations: 35.95 kB / 0.7172 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.199e-05/0.2299, allocations: 35.98 kB / 0.7172 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.771e-05/0.23, allocations: 79.34 kB / 0.7173 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.23, allocations: 4 kB / 0.7173 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006009/0.2306, allocations: 175.7 kB / 0.7175 GB, free: 1.25 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.003352/0.2339, allocations: 2.119 MB / 0.7195 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001305/0.2352, allocations: 0.7211 MB / 0.7202 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2352, allocations: 0 / 0.7202 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000655/0.2359, allocations: 407.6 kB / 0.7206 GB, free: 13.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.2362, allocations: 12.22 kB / 0.7206 GB, free: 13.97 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00801/0.2442, allocations: 3.687 MB / 0.7242 GB, free: 10.2 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.2444, allocations: 111.3 kB / 0.7243 GB, free: 10.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001118/0.2455, allocations: 293.5 kB / 0.7246 GB, free: 9.789 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005778/0.2461, allocations: 119.4 kB / 0.7247 GB, free: 9.672 MB / 0.545 GB Notification: Performance of SimCode: time 1.593e-06/0.2461, allocations: 0 / 0.7247 GB, free: 9.672 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04771/0.2938, allocations: 14.04 MB / 0.7385 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.58, allocations: 6.562 kB / 0.7385 GB, free: 11.8 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 & 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.853388289920986] Failed to read output from testmodel.py, exit status != 0: 11.693782278802246 12.07270564 11.878089768 Calling exit ...