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.00116/0.00116, allocations: 76.44 kB / 19.17 MB, free: 0.7305 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.001505/0.001505, allocations: 169.9 kB / 22.45 MB, free: 2.098 MB / 18.57 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.9402/0.9402, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.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.7424/0.7424, allocations: 154.6 MB / 413.7 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.318e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001252/0.001275, allocations: 0.6223 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.002644, allocations: 1.303 MB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.858e-05/0.002672, allocations: 0 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.00269, allocations: 3.938 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.275e-05/0.002713, allocations: 3.938 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.0031, allocations: 87.59 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.958e-05/0.003159, allocations: 19.97 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.003205, allocations: 8 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.855e-05/0.003244, allocations: 15.92 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.85e-05/0.003312, allocations: 15.97 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.003326, allocations: 0 / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.003552, allocations: 111.8 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.003561, allocations: 0 / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.098e-05/0.003582, allocations: 19.91 kB / 0.6203 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.003721, allocations: 91.75 kB / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.003722, allocations: 0 / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.11e-07/0.003723, allocations: 0 / 0.6204 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.003727, allocations: 4 kB / 0.6204 GB, free: 11.34 MB / 0.5886 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.0003668/0.004093, allocations: 266.2 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.004139, allocations: 13.47 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.139e-05/0.00417, allocations: 38.73 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.004196, allocations: 4.891 kB / 0.6207 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.00431, allocations: 105.8 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.004322, allocations: 384 / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.004348, allocations: 8.375 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.004472, allocations: 79.94 kB / 0.6208 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.004485, allocations: 4.188 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.004496, allocations: 4.125 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.0045, allocations: 11.88 kB / 0.6209 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.287e-05/0.004553, allocations: 23.92 kB / 0.6209 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001521/0.004705, allocations: 136.7 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.004807, allocations: 54.56 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.004839, allocations: 24.84 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001936/0.005033, allocations: 39.97 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.005056, allocations: 34.56 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 7.62e-07/0.005057, allocations: 0 / 0.6212 GB, free: 10.38 MB / 0.5886 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.0108/0.01586, allocations: 4.162 MB / 0.6252 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.0159, allocations: 59.34 kB / 0.6253 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.529e-05/0.01596, allocations: 93.86 kB / 0.6254 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.355e-05/0.01601, allocations: 29.7 kB / 0.6254 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.344e-05/0.01605, allocations: 84.12 kB / 0.6255 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.01615, allocations: 63.44 kB / 0.6255 GB, free: 5.773 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.01631, allocations: 93.66 kB / 0.6256 GB, free: 5.676 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.01642, allocations: 314.8 kB / 0.6259 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.01682, allocations: 311.8 kB / 0.6262 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.01719, allocations: 313.9 kB / 0.6265 GB, free: 4.75 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.01829, allocations: 0.7701 MB / 0.6273 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.01829, allocations: 0 / 0.6273 GB, free: 3.977 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001036/0.01933, allocations: 0.8003 MB / 0.6281 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.01935, allocations: 8.125 kB / 0.6281 GB, free: 3.164 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01935, allocations: 3.938 kB / 0.6281 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.01937, allocations: 4 kB / 0.6281 GB, free: 3.156 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.01975, allocations: 91.95 kB / 0.6282 GB, free: 3.066 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.01975, allocations: 7.922 kB / 0.6282 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.01994, allocations: 8 kB / 0.6282 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.01999, allocations: 32.3 kB / 0.6282 GB, free: 3.02 MB / 0.5886 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.000134/0.02013, allocations: 126.7 kB / 0.6283 GB, free: 2.887 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.02018, allocations: 7.953 kB / 0.6283 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001891/0.02207, allocations: 1.399 MB / 0.6297 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.02208, allocations: 7.984 kB / 0.6297 GB, free: 1.461 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.02208, allocations: 0 / 0.6297 GB, free: 1.461 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.02209, allocations: 8 kB / 0.6297 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.02402, allocations: 1.69 MB / 0.6314 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.02402, allocations: 8.031 kB / 0.6314 GB, free: 15.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.02438, allocations: 103.9 kB / 0.6315 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.02438, allocations: 0 / 0.6315 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.02442, allocations: 28 kB / 0.6315 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.02443, allocations: 0 / 0.6315 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.02443, allocations: 7.922 kB / 0.6315 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.02609, allocations: 1.474 MB / 0.633 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.61e-05/0.0261, allocations: 15.88 kB / 0.633 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.02616, allocations: 8 kB / 0.633 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.02636, allocations: 11.98 kB / 0.633 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.02647, allocations: 47.89 kB / 0.633 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.248e-05/0.02652, allocations: 36.06 kB / 0.6331 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.413e-05/0.02656, allocations: 75.28 kB / 0.6331 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.02656, allocations: 0 / 0.6331 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004685/0.02702, allocations: 187.7 kB / 0.6333 GB, free: 13.69 MB / 0.6042 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.002274/0.0293, allocations: 2.135 MB / 0.6354 GB, free: 11.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008625/0.03016, allocations: 0.7186 MB / 0.6361 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.03016, allocations: 0 / 0.6361 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.03059, allocations: 403.9 kB / 0.6365 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.03083, allocations: 30.61 kB / 0.6365 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004856/0.03568, allocations: 3.712 MB / 0.6401 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.458e-05/0.03576, allocations: 103.6 kB / 0.6402 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006105/0.03637, allocations: 293.5 kB / 0.6405 GB, free: 6.176 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/0.03677, allocations: 120.5 kB / 0.6406 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of SimCode: time 6.82e-07/0.03677, allocations: 0 / 0.6406 GB, free: 6.059 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02803/0.06481, allocations: 14.21 MB / 0.6545 GB, free: 8.105 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.319/7.384, allocations: 3.859 kB / 0.6545 GB, free: 8.102 MB / 0.6198 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.312078509479761] Failed to read output from testmodel.py, exit status != 0: 7.471472107805312 7.481530647 7.475934376 Calling exit ...