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.0008826/0.0008826, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.001145/0.001145, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9236/0.9236, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.7203/0.7203, allocations: 154.5 MB / 413.7 MB, free: 0.8203 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.302e-06/1.302e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.653e-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.001215/0.001231, allocations: 0.6188 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001742/0.002973, allocations: 1.303 MB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.003014, allocations: 0 / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.103e-05/0.003035, allocations: 3.938 kB / 0.62 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.873e-05/0.003064, allocations: 4 kB / 0.62 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004548/0.003519, allocations: 79.66 kB / 0.6201 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.92e-05/0.003588, allocations: 19.92 kB / 0.6201 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.583e-05/0.003644, allocations: 4 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.003688, allocations: 19.97 kB / 0.6201 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.133e-05/0.003769, allocations: 11.98 kB / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.003785, allocations: 0 / 0.6201 GB, free: 11.58 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.004058, allocations: 115.8 kB / 0.6202 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.558e-05/0.004073, allocations: 7.984 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.004096, allocations: 7.984 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.004262, allocations: 91.75 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.004265, allocations: 0 / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.523e-06/0.004266, allocations: 0 / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.004272, allocations: 3.938 kB / 0.6203 GB, free: 11.36 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.0004514/0.004723, allocations: 272.6 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.004778, allocations: 17.47 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.157e-05/0.004819, allocations: 38.73 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.004854, allocations: 8.891 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.434e-05/0.004949, allocations: 101.8 kB / 0.6208 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.004966, allocations: 8.375 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.004992, allocations: 4.375 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.005133, allocations: 79.94 kB / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.005144, allocations: 192 / 0.6209 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.005155, allocations: 8.125 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.005162, allocations: 3.984 kB / 0.6209 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.658e-05/0.005218, allocations: 27.92 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.005366, allocations: 136.7 kB / 0.621 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.005479, allocations: 54.56 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.876e-05/0.005517, allocations: 24.84 kB / 0.6211 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.00574, allocations: 39.97 kB / 0.6211 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.005767, allocations: 30.56 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.005769, allocations: 0 / 0.6212 GB, free: 10.39 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.01045/0.01622, allocations: 4.173 MB / 0.6252 GB, free: 6.129 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.01626, allocations: 55.41 kB / 0.6253 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.829e-05/0.01632, allocations: 89.86 kB / 0.6254 GB, free: 5.965 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.957e-05/0.01637, allocations: 29.7 kB / 0.6254 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.651e-05/0.0164, allocations: 84.14 kB / 0.6255 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 8.035e-05/0.01648, allocations: 59.61 kB / 0.6255 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.01664, allocations: 97.59 kB / 0.6256 GB, free: 5.684 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.01673, allocations: 314.8 kB / 0.6259 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003522/0.01708, allocations: 307.9 kB / 0.6262 GB, free: 5.066 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003472/0.01743, allocations: 311.9 kB / 0.6265 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009994/0.01843, allocations: 0.7723 MB / 0.6273 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01843, allocations: 0 / 0.6273 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001017/0.01944, allocations: 0.802 MB / 0.6281 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.01947, allocations: 6.188 kB / 0.6281 GB, free: 3.176 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.01948, allocations: 4 kB / 0.6281 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.0195, allocations: 0 / 0.6281 GB, free: 3.172 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.01989, allocations: 95.89 kB / 0.6282 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.0199, allocations: 0 / 0.6282 GB, free: 3.078 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.0201, allocations: 15.98 kB / 0.6282 GB, free: 3.062 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.071e-05/0.02015, allocations: 28.3 kB / 0.6282 GB, free: 3.035 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.000153/0.02031, allocations: 122.8 kB / 0.6283 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.119e-05/0.02036, allocations: 7.953 kB / 0.6283 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.02246, allocations: 1.403 MB / 0.6297 GB, free: 1.484 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.02247, allocations: 15.98 kB / 0.6297 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.02247, allocations: 0 / 0.6297 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.02248, allocations: 0 / 0.6297 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.02436, allocations: 1.698 MB / 0.6314 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.02436, allocations: 0 / 0.6314 GB, free: 15.71 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.02472, allocations: 107.9 kB / 0.6315 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.02473, allocations: 4 kB / 0.6315 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.02477, allocations: 32.02 kB / 0.6315 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.02477, allocations: 0 / 0.6315 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.02478, allocations: 11.92 kB / 0.6315 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.02632, allocations: 1.47 MB / 0.633 GB, free: 14.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.472e-05/0.02634, allocations: 19.81 kB / 0.633 GB, free: 14.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.656e-05/0.02639, allocations: 8 kB / 0.633 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.02661, allocations: 15.98 kB / 0.633 GB, free: 14.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.0267, allocations: 43.89 kB / 0.633 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.02674, allocations: 32 kB / 0.6331 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.215e-05/0.02676, allocations: 75.28 kB / 0.6331 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.02676, allocations: 8.156 kB / 0.6332 GB, free: 13.87 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004086/0.02717, allocations: 183.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.002019/0.02919, allocations: 2.138 MB / 0.6354 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009363/0.03013, allocations: 0.7109 MB / 0.6361 GB, free: 10.81 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.03013, allocations: 7.938 kB / 0.6361 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004022/0.03053, allocations: 399.7 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.0002425/0.03078, allocations: 19.94 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.004401/0.03518, allocations: 3.715 MB / 0.6401 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.55e-05/0.03524, allocations: 103.6 kB / 0.6402 GB, free: 6.473 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000611/0.03585, allocations: 293.5 kB / 0.6405 GB, free: 6.184 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003784/0.03623, allocations: 120.5 kB / 0.6406 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/0.03623, allocations: 0 / 0.6406 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02973/0.06596, allocations: 14.2 MB / 0.6545 GB, free: 8.121 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.099/7.165, allocations: 12.67 kB / 0.6545 GB, free: 8.109 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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: 9.910183331929147] Failed to read output from testmodel.py, exit status != 0: 7.250631742179394 7.260588962 7.254290461 Calling exit ...