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.0007935/0.0007935, allocations: 80.48 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008119/0.0008119, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8523/0.8523, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.6985/0.6985, allocations: 154.6 MB / 414.5 MB, free: 0.8164 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.6193 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.684e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001781/0.001808, allocations: 0.6266 MB / 0.6199 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001753/0.003561, allocations: 1.307 MB / 0.6212 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.00359, allocations: 0 / 0.6212 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.72e-05/0.003607, allocations: 0 / 0.6212 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.337e-05/0.003631, allocations: 0 / 0.6212 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.004055, allocations: 87.59 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.446e-05/0.004119, allocations: 19.92 kB / 0.6213 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.961e-05/0.004169, allocations: 8 kB / 0.6213 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.115e-05/0.00421, allocations: 11.92 kB / 0.6213 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.584e-05/0.004286, allocations: 19.97 kB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.004303, allocations: 4 kB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003014/0.004604, allocations: 107.8 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.004621, allocations: 7.984 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.004645, allocations: 11.88 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.004836, allocations: 83.81 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.004839, allocations: 4 kB / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.322e-06/0.004841, allocations: 0 / 0.6216 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.004846, allocations: 0 / 0.6216 GB, free: 10.8 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.000448/0.005294, allocations: 282.1 kB / 0.6218 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.005333, allocations: 9.469 kB / 0.6218 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.481e-05/0.005378, allocations: 4.938 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.716e-05/0.005475, allocations: 109.7 kB / 0.622 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.005488, allocations: 4.375 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.939e-05/0.005517, allocations: 8.375 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.005663, allocations: 79.89 kB / 0.622 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.005674, allocations: 192 / 0.622 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.005687, allocations: 384 / 0.622 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.005693, allocations: 3.938 kB / 0.622 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.055e-05/0.005764, allocations: 27.97 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001574/0.005921, allocations: 109.3 kB / 0.6222 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.006047, allocations: 54.64 kB / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.51e-05/0.006092, allocations: 32.94 kB / 0.6223 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002449/0.006337, allocations: 39.95 kB / 0.6223 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.006371, allocations: 34.56 kB / 0.6223 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.006373, allocations: 0 / 0.6223 GB, free: 9.898 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.01069/0.01706, allocations: 4.174 MB / 0.6264 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.0171, allocations: 55.41 kB / 0.6265 GB, free: 5.582 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.871e-05/0.01714, allocations: 97.8 kB / 0.6266 GB, free: 5.477 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.847e-05/0.01719, allocations: 29.69 kB / 0.6266 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.335e-05/0.01722, allocations: 84.14 kB / 0.6267 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/0.01729, allocations: 55.61 kB / 0.6267 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.01745, allocations: 97.67 kB / 0.6268 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.368e-05/0.01753, allocations: 318.8 kB / 0.6271 GB, free: 4.879 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.01789, allocations: 311.9 kB / 0.6274 GB, free: 4.574 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000351/0.01824, allocations: 307.9 kB / 0.6277 GB, free: 4.273 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.01925, allocations: 0.7723 MB / 0.6285 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.01925, allocations: 3.938 kB / 0.6285 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001018/0.02027, allocations: 0.8075 MB / 0.6293 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.02029, allocations: 4 kB / 0.6293 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.02029, allocations: 4 kB / 0.6293 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.02031, allocations: 0 / 0.6293 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003693/0.02067, allocations: 95.94 kB / 0.6294 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.02068, allocations: 0 / 0.6294 GB, free: 2.582 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.02088, allocations: 12 kB / 0.6294 GB, free: 2.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.02093, allocations: 27.98 kB / 0.6294 GB, free: 2.543 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.0001354/0.02106, allocations: 122.8 kB / 0.6295 GB, free: 2.414 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.008e-05/0.02111, allocations: 11.89 kB / 0.6295 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.0229, allocations: 1.4 MB / 0.6309 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.0229, allocations: 8 kB / 0.6309 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.02291, allocations: 0 / 0.6309 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.02291, allocations: 0 / 0.6309 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.02475, allocations: 1.663 MB / 0.6325 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.02475, allocations: 3.938 kB / 0.6325 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.02511, allocations: 107.9 kB / 0.6326 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.02511, allocations: 4 kB / 0.6326 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.02515, allocations: 32.02 kB / 0.6327 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.02516, allocations: 4 kB / 0.6327 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.02516, allocations: 0 / 0.6327 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.02672, allocations: 1.47 MB / 0.6341 GB, free: 13.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.409e-05/0.02673, allocations: 15.94 kB / 0.6341 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.02678, allocations: 4 kB / 0.6341 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.027, allocations: 16 kB / 0.6341 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/0.02708, allocations: 39.95 kB / 0.6342 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.375e-05/0.02712, allocations: 35.98 kB / 0.6342 GB, free: 13.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.184e-05/0.02715, allocations: 75.28 kB / 0.6343 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7e-08/0.02715, allocations: 8.094 kB / 0.6343 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004006/0.02755, allocations: 183.6 kB / 0.6345 GB, free: 13.27 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.0003734/0.02792, allocations: 254.7 kB / 0.6347 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008124/0.02873, allocations: 0.7106 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.02873, allocations: 3.938 kB / 0.6354 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.02913, allocations: 407.6 kB / 0.6358 GB, free: 11.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.02936, allocations: 16 kB / 0.6358 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.03105, allocations: 0.8064 MB / 0.6366 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.978e-05/0.03111, allocations: 107.6 kB / 0.6367 GB, free: 10.91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003886/0.0315, allocations: 96.41 kB / 0.6368 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/0.0315, allocations: 0 / 0.6368 GB, free: 10.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.006328/0.03783, allocations: 7.12 MB / 0.6437 GB, free: 3.785 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.222008430399001] Failed to read output from testmodel.py, exit status != 0: 0.044430979527533054 0.051154950000000005 0.044672734000000006 Calling exit ...