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.001227/0.001227, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001421/0.001421, allocations: 170 kB / 23.27 MB, free: 1.223 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 1.016/1.016, allocations: 177.1 MB / 203.7 MB, free: 5.492 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-535:34: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-535:42: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.78/0.78, allocations: 154.9 MB / 415.1 MB, free: 228 kB / 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.833e-06/1.833e-06, allocations: 0 / 0.5212 GB, free: 1.422 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.926e-05/3.109e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.418 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001248/0.001279, allocations: 0.6232 MB / 0.5218 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001329/0.002608, allocations: 1.338 MB / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.598e-05/0.002634, allocations: 0 / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.00265, allocations: 0 / 0.5231 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 2.216e-05/0.002672, allocations: 5.594 kB / 0.5231 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003451/0.003017, allocations: 79.66 kB / 0.5232 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 5.247e-05/0.00307, allocations: 27.91 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.561e-05/0.003105, allocations: 4.734 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 3.48e-05/0.00314, allocations: 15.98 kB / 0.5232 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 5.615e-05/0.003196, allocations: 9.391 kB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.003209, allocations: 0 / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002064/0.003415, allocations: 115.8 kB / 0.5234 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.003427, allocations: 9.328 kB / 0.5234 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.467e-05/0.003442, allocations: 8 kB / 0.5234 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001238/0.003566, allocations: 83.81 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003568, allocations: 3.938 kB / 0.5235 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003569, allocations: 5.188 kB / 0.5235 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.005e-06/0.003572, allocations: 0 / 0.5235 GB, free: 15.11 MB / 0.4948 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.0003217/0.003893, allocations: 386.8 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.003925, allocations: 8.031 kB / 0.5238 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.003952, allocations: 9.234 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.924e-05/0.004012, allocations: 104.6 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.218e-06/0.004021, allocations: 8.375 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.004038, allocations: 4.375 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.981e-05/0.004118, allocations: 71.94 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.004126, allocations: 0.75 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-06/0.004132, allocations: 4.375 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004138, allocations: 4.906 kB / 0.524 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.289e-05/0.004171, allocations: 15.92 kB / 0.5241 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.601e-05/0.004267, allocations: 110.9 kB / 0.5242 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.157e-05/0.004339, allocations: 59.03 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.797e-05/0.004357, allocations: 15.69 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001517/0.004508, allocations: 46.3 kB / 0.5243 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.004528, allocations: 37.39 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.042e-06/0.004529, allocations: 0 / 0.5243 GB, free: 14.13 MB / 0.4948 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.009913/0.01444, allocations: 5.204 MB / 0.5294 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.01447, allocations: 59.34 kB / 0.5295 GB, free: 8.844 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.192e-05/0.01453, allocations: 156.3 kB / 0.5296 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.01458, allocations: 25.7 kB / 0.5296 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.01461, allocations: 134.9 kB / 0.5298 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.511e-05/0.01468, allocations: 59.47 kB / 0.5298 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.01483, allocations: 95.31 kB / 0.5299 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.01494, allocations: 0.4923 MB / 0.5304 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002901/0.01523, allocations: 398.4 kB / 0.5308 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.01552, allocations: 391.9 kB / 0.5311 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008541/0.01637, allocations: 0.9379 MB / 0.5321 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.01637, allocations: 0 / 0.5321 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009262/0.0173, allocations: 0.98 MB / 0.533 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.01732, allocations: 8 kB / 0.533 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.01732, allocations: 0 / 0.533 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.01733, allocations: 1.156 kB / 0.533 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003365/0.01767, allocations: 91.94 kB / 0.5331 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.975e-06/0.01767, allocations: 0 / 0.5331 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.01786, allocations: 12.5 kB / 0.5331 GB, free: 5.039 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.0179, allocations: 28.48 kB / 0.5331 GB, free: 5.012 MB / 0.4948 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.0001319/0.01803, allocations: 169 kB / 0.5333 GB, free: 4.836 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-05/0.01812, allocations: 20.83 kB / 0.5333 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.01958, allocations: 1.21 MB / 0.5345 GB, free: 3.676 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.01959, allocations: 4 kB / 0.5345 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.01959, allocations: 0 / 0.5345 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.01959, allocations: 0 / 0.5345 GB, free: 3.672 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.02126, allocations: 1.495 MB / 0.536 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.02126, allocations: 0 / 0.536 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003276/0.02159, allocations: 111.9 kB / 0.5361 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.0216, allocations: 0 / 0.5361 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.02163, allocations: 31.98 kB / 0.5361 GB, free: 2.004 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.02164, allocations: 7.938 kB / 0.5361 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.02164, allocations: 0 / 0.5361 GB, free: 1.996 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001073/0.02271, allocations: 1.133 MB / 0.5372 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.02273, allocations: 19.92 kB / 0.5372 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.02278, allocations: 8 kB / 0.5372 GB, free: 0.8086 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.02296, allocations: 11.94 kB / 0.5373 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.947e-05/0.02304, allocations: 43.95 kB / 0.5373 GB, free: 0.7539 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.149e-05/0.02308, allocations: 28 kB / 0.5373 GB, free: 0.7266 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.514e-05/0.02312, allocations: 123.2 kB / 0.5374 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.02312, allocations: 0 / 0.5374 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004424/0.02356, allocations: 187.6 kB / 0.5376 GB, free: 432 kB / 0.4948 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.0004069/0.02397, allocations: 250.8 kB / 0.5379 GB, free: 172 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006603/0.02463, allocations: 0.7454 MB / 0.5386 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.02463, allocations: 0 / 0.5386 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.02491, allocations: 351.9 kB / 0.5389 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000213/0.02513, allocations: 47.86 kB / 0.539 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.02656, allocations: 0.6979 MB / 0.5397 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.481e-05/0.0266, allocations: 77.34 kB / 0.5397 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005909/0.0272, allocations: 293.5 kB / 0.54 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005125/0.02771, allocations: 170.2 kB / 0.5402 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of SimCode: time 1.322e-06/0.02771, allocations: 0 / 0.5402 GB, free: 13.74 MB / 0.5105 GB Notification: Performance of Templates: time 0.01314/0.04085, allocations: 12.95 MB / 0.5528 GB, free: 0.8672 MB / 0.5105 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8876468650996685]