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.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.001153/0.001153, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.001201/0.001201, allocations: 223.6 kB / 22.26 MB, free: 3.695 MB / 13.93 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.037/1.037, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8142/0.8142, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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"}) [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.000989/0.000989, allocations: 66.52 kB / 0.7183 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5609/0.5619, allocations: 102 MB / 0.8179 GB, free: 1.246 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001538/0.5634, allocations: 0.6252 MB / 0.8185 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.5649, allocations: 1.371 MB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.565, allocations: 0 / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.51e-05/0.565, allocations: 3.938 kB / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.712e-05/0.565, allocations: 0 / 0.8199 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.5654, allocations: 86.22 kB / 0.82 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.076e-05/0.5655, allocations: 32.7 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.5655, allocations: 3.797 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.5656, allocations: 12.72 kB / 0.82 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.521e-05/0.5657, allocations: 18.67 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.5657, allocations: 3.984 kB / 0.82 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000346/0.566, allocations: 109.7 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.866e-05/0.5661, allocations: 9.047 kB / 0.8201 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.5661, allocations: 10.48 kB / 0.8201 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.5663, allocations: 70.98 kB / 0.8202 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.5663, allocations: 2.844 kB / 0.8202 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.494e-06/0.5663, allocations: 0 / 0.8202 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.5663, allocations: 0.6562 kB / 0.8202 GB, free: 15.72 MB / 0.6198 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.0005419/0.5669, allocations: 286.7 kB / 0.8205 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.118e-05/0.5669, allocations: 7.594 kB / 0.8205 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.3e-05/0.567, allocations: 37.59 kB / 0.8205 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.567, allocations: 3.312 kB / 0.8205 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.5671, allocations: 108.8 kB / 0.8206 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.5671, allocations: 2.141 kB / 0.8206 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.5672, allocations: 18.89 kB / 0.8207 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.5673, allocations: 52.58 kB / 0.8207 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.5674, allocations: 4.484 kB / 0.8207 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.5674, allocations: 4 kB / 0.8207 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.5674, allocations: 0 / 0.8207 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.5675, allocations: 27.69 kB / 0.8207 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.5676, allocations: 131.2 kB / 0.8209 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.5678, allocations: 57.84 kB / 0.8209 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.5678, allocations: 29.58 kB / 0.821 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.5681, allocations: 42.89 kB / 0.821 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.5681, allocations: 36.42 kB / 0.821 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.5681, allocations: 0 / 0.821 GB, free: 14.93 MB / 0.6198 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.01156/0.5797, allocations: 4.162 MB / 0.8251 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.5797, allocations: 54.2 kB / 0.8251 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.413e-05/0.5798, allocations: 91.81 kB / 0.8252 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.858e-05/0.5799, allocations: 26.8 kB / 0.8253 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/0.5799, allocations: 88.52 kB / 0.8253 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.91e-05/0.58, allocations: 59.84 kB / 0.8254 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.5802, allocations: 101.4 kB / 0.8255 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.5803, allocations: 323.3 kB / 0.8258 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004128/0.5807, allocations: 306.7 kB / 0.8261 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003934/0.5811, allocations: 316.9 kB / 0.8264 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.5822, allocations: 0.7721 MB / 0.8272 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5822, allocations: 0 / 0.8272 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00147/0.5837, allocations: 0.7984 MB / 0.8279 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.5837, allocations: 5.25 kB / 0.8279 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.5837, allocations: 4 kB / 0.8279 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.5838, allocations: 1.984 kB / 0.8279 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004666/0.5842, allocations: 95.27 kB / 0.828 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.5842, allocations: 0 / 0.828 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.5844, allocations: 13.47 kB / 0.828 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/0.5845, allocations: 34.75 kB / 0.8281 GB, free: 11.75 MB / 0.6198 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.000147/0.5846, allocations: 117.8 kB / 0.8282 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.5847, allocations: 7.266 kB / 0.8282 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.5868, allocations: 1.408 MB / 0.8296 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/0.5868, allocations: 4.469 kB / 0.8296 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.5868, allocations: 0.6094 kB / 0.8296 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.5868, allocations: 7.062 kB / 0.8296 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.5893, allocations: 1.781 MB / 0.8313 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.5893, allocations: 1.344 kB / 0.8313 GB, free: 9.953 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000451/0.5898, allocations: 104.9 kB / 0.8314 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.5898, allocations: 2.656 kB / 0.8314 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.5898, allocations: 35.12 kB / 0.8315 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.5898, allocations: 2.25 kB / 0.8315 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5898, allocations: 0 / 0.8315 GB, free: 9.938 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001809/0.5916, allocations: 1.477 MB / 0.8329 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.26e-05/0.5917, allocations: 14.19 kB / 0.8329 GB, free: 9.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.5917, allocations: 15.14 kB / 0.8329 GB, free: 9.148 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.5919, allocations: 10.66 kB / 0.8329 GB, free: 9.145 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.592, allocations: 44.28 kB / 0.833 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-05/0.5921, allocations: 32.56 kB / 0.833 GB, free: 9.137 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.621e-05/0.5921, allocations: 76.53 kB / 0.8331 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5921, allocations: 0 / 0.8331 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000634/0.5928, allocations: 189.9 kB / 0.8333 GB, free: 9.027 MB / 0.6198 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.002339/0.5951, allocations: 2.125 MB / 0.8353 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009879/0.5961, allocations: 0.7187 MB / 0.836 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5961, allocations: 64 / 0.836 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005733/0.5967, allocations: 409.3 kB / 0.8364 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.5969, allocations: 23.78 kB / 0.8365 GB, free: 7.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/0.6019, allocations: 3.711 MB / 0.8401 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002183/0.6021, allocations: 0.7145 MB / 0.8408 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006418/0.6028, allocations: 293.6 kB / 0.8411 GB, free: 4.188 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.6032, allocations: 118.4 kB / 0.8412 GB, free: 4.156 MB / 0.6198 GB Notification: Performance of SimCode: time 8.22e-07/0.6032, allocations: 0 / 0.8412 GB, free: 4.156 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03162/0.6348, allocations: 13.47 MB / 0.8543 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.482/7.117, allocations: 7.016 kB / 0.8543 GB, free: 14.05 MB / 0.6355 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.257340694079176] Failed to read output from testmodel.py, exit status != 0: 7.195481002097949 7.204210161 6.636100271 Calling exit ...