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.0007759/0.0007759, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008065/0.0008065, allocations: 212.1 kB / 22.25 MB, free: 3.727 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 0.9968/0.9968, allocations: 230.6 MB / 256 MB, free: 9.59 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.7955/0.7955, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.0009582/0.0009582, allocations: 67.45 kB / 0.7182 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5153/0.5163, allocations: 102 MB / 0.8178 GB, free: 1.012 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00133/0.5176, allocations: 0.6123 MB / 0.8184 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.519, allocations: 1.313 MB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.519, allocations: 0 / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.519, allocations: 3.281 kB / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.087e-05/0.5191, allocations: 0 / 0.8197 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.5194, allocations: 79.2 kB / 0.8198 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.589e-05/0.5195, allocations: 29.98 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.5195, allocations: 7.391 kB / 0.8198 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.61e-05/0.5195, allocations: 15.66 kB / 0.8199 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.384e-05/0.5196, allocations: 11.27 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.5196, allocations: 1.406 kB / 0.8199 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.5199, allocations: 106.2 kB / 0.82 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.5199, allocations: 13.77 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.5199, allocations: 12.45 kB / 0.82 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.5201, allocations: 71.73 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.5201, allocations: 0 / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5201, allocations: 4 kB / 0.8201 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.5201, allocations: 0.6562 kB / 0.8201 GB, free: 15.57 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.0003907/0.5205, allocations: 288.5 kB / 0.8203 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.5205, allocations: 8.75 kB / 0.8204 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.5205, allocations: 33.69 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.5206, allocations: 2.5 kB / 0.8204 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.6e-05/0.5206, allocations: 111.3 kB / 0.8205 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.5207, allocations: 4.359 kB / 0.8205 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.5207, allocations: 8.719 kB / 0.8205 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.5208, allocations: 85.7 kB / 0.8206 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5208, allocations: 0 / 0.8206 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.5208, allocations: 1.875 kB / 0.8206 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5208, allocations: 4.922 kB / 0.8206 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.85e-05/0.5209, allocations: 21.66 kB / 0.8206 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.521, allocations: 131.5 kB / 0.8207 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.5212, allocations: 55.44 kB / 0.8208 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.5212, allocations: 28.05 kB / 0.8208 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002057/0.5214, allocations: 35.56 kB / 0.8209 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.5214, allocations: 45.73 kB / 0.8209 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.5214, allocations: 3.938 kB / 0.8209 GB, free: 14.75 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.01166/0.5331, allocations: 4.155 MB / 0.825 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.5331, allocations: 55.03 kB / 0.825 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.558e-05/0.5332, allocations: 99.88 kB / 0.8251 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.5333, allocations: 25.7 kB / 0.8251 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.5333, allocations: 86.09 kB / 0.8252 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.857e-05/0.5334, allocations: 62.05 kB / 0.8253 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001928/0.5336, allocations: 98.55 kB / 0.8254 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.5337, allocations: 319.9 kB / 0.8257 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/0.5341, allocations: 310.5 kB / 0.826 GB, free: 12.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004158/0.5345, allocations: 312.8 kB / 0.8263 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.5356, allocations: 0.7678 MB / 0.827 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5356, allocations: 0 / 0.827 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001364/0.537, allocations: 0.8067 MB / 0.8278 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.537, allocations: 5.5 kB / 0.8278 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.537, allocations: 0.6562 kB / 0.8278 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.537, allocations: 1.188 kB / 0.8278 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004675/0.5375, allocations: 98.95 kB / 0.8279 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.5375, allocations: 1.062 kB / 0.8279 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.5377, allocations: 9.688 kB / 0.8279 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.136e-05/0.5378, allocations: 38.12 kB / 0.828 GB, free: 11.59 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.000152/0.5379, allocations: 122.2 kB / 0.8281 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.448e-05/0.538, allocations: 6.734 kB / 0.8281 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.54, allocations: 1.403 MB / 0.8294 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.54, allocations: 3.594 kB / 0.8294 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.54, allocations: 4 kB / 0.8295 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.54, allocations: 3.719 kB / 0.8295 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.5421, allocations: 1.694 MB / 0.8311 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.5421, allocations: 5.125 kB / 0.8311 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000415/0.5425, allocations: 109.5 kB / 0.8312 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5425, allocations: 2.469 kB / 0.8312 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/0.5425, allocations: 31.28 kB / 0.8312 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5425, allocations: 2.156 kB / 0.8313 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5425, allocations: 0 / 0.8313 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.5442, allocations: 1.471 MB / 0.8327 GB, free: 9.023 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.5443, allocations: 18.17 kB / 0.8327 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.25e-05/0.5443, allocations: 10.22 kB / 0.8327 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.5446, allocations: 19.2 kB / 0.8327 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.835e-05/0.5446, allocations: 44.98 kB / 0.8328 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/0.5447, allocations: 27.47 kB / 0.8328 GB, free: 8.988 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.388e-05/0.5447, allocations: 81.12 kB / 0.8329 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5447, allocations: 3.938 kB / 0.8329 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000547/0.5453, allocations: 183.1 kB / 0.8331 GB, free: 8.879 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.002576/0.5478, allocations: 2.123 MB / 0.8351 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001006/0.5489, allocations: 0.7204 MB / 0.8358 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.5489, allocations: 4.156 kB / 0.8358 GB, free: 7.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000469/0.5493, allocations: 401.8 kB / 0.8362 GB, free: 7.105 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.5496, allocations: 17.61 kB / 0.8362 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005177/0.5548, allocations: 3.705 MB / 0.8399 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.437e-05/0.5548, allocations: 104.7 kB / 0.84 GB, free: 4.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0006638/0.5555, allocations: 294.8 kB / 0.8402 GB, free: 4.668 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003652/0.5559, allocations: 116.1 kB / 0.8403 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of SimCode: time 1.433e-06/0.5559, allocations: 1.281 kB / 0.8403 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.5855, allocations: 14.08 MB / 0.8541 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.801/7.386, allocations: 3.188 kB / 0.8541 GB, free: 13.9 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.475256519857794] Failed to read output from testmodel.py, exit status != 0: 7.469303720165044 7.485565903 6.962384968 Calling exit ...