Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0005941/0.0005941, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007064/0.0007064, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8848/0.8848, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7138/0.7138, allocations: 154.6 MB / 414.5 MB, free: 0.793 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.6194 GB, free: 13.1 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/2.053e-05, allocations: 6.219 kB / 0.6194 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001036/0.001056, allocations: 0.6213 MB / 0.62 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001467/0.002523, allocations: 1.311 MB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.002546, allocations: 3.938 kB / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.00256, allocations: 0 / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 1.966e-05/0.00258, allocations: 0 / 0.6213 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.002925, allocations: 87.53 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.00298, allocations: 23.92 kB / 0.6214 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.923e-05/0.003019, allocations: 8 kB / 0.6214 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.157e-05/0.00305, allocations: 11.98 kB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.003115, allocations: 11.97 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.003129, allocations: 4 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.003342, allocations: 107.9 kB / 0.6215 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.419e-05/0.003357, allocations: 11.92 kB / 0.6215 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.003374, allocations: 7.984 kB / 0.6215 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.003513, allocations: 87.75 kB / 0.6216 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003516, allocations: 4 kB / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.52e-07/0.003517, allocations: 0 / 0.6216 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.003521, allocations: 4 kB / 0.6216 GB, free: 10.78 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.0003642/0.003885, allocations: 278.1 kB / 0.6219 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.00392, allocations: 8.031 kB / 0.6219 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.003952, allocations: 4.938 kB / 0.6219 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.419e-05/0.004026, allocations: 109.7 kB / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.027e-06/0.004036, allocations: 4.375 kB / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.004061, allocations: 8.375 kB / 0.622 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.004177, allocations: 83.86 kB / 0.6221 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.004186, allocations: 192 / 0.6221 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.004197, allocations: 8.375 kB / 0.6221 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.004203, allocations: 3.938 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.386e-05/0.004257, allocations: 19.98 kB / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001132/0.00437, allocations: 105.3 kB / 0.6222 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 9.411e-05/0.004464, allocations: 62.61 kB / 0.6223 GB, free: 9.992 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.004495, allocations: 28.8 kB / 0.6223 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001877/0.004683, allocations: 39.95 kB / 0.6224 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.004703, allocations: 38.56 kB / 0.6224 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 7.91e-07/0.004703, allocations: 0 / 0.6224 GB, free: 9.875 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.01022/0.01492, allocations: 4.158 MB / 0.6265 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.01495, allocations: 59.39 kB / 0.6265 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.65e-05/0.01499, allocations: 93.86 kB / 0.6266 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.657e-05/0.01504, allocations: 29.83 kB / 0.6266 GB, free: 5.422 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.01506, allocations: 84.14 kB / 0.6267 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.494e-05/0.01514, allocations: 51.55 kB / 0.6268 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.01528, allocations: 93.67 kB / 0.6269 GB, free: 5.188 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.897e-05/0.01535, allocations: 314.8 kB / 0.6272 GB, free: 4.871 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.01569, allocations: 311.9 kB / 0.6275 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.01603, allocations: 307.9 kB / 0.6278 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009544/0.01698, allocations: 0.7683 MB / 0.6285 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01699, allocations: 0 / 0.6285 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009946/0.01798, allocations: 0.8058 MB / 0.6293 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.01799, allocations: 4 kB / 0.6293 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.018, allocations: 8 kB / 0.6293 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.01801, allocations: 4 kB / 0.6293 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.01836, allocations: 95.94 kB / 0.6294 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.01837, allocations: 0 / 0.6294 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.01856, allocations: 8 kB / 0.6294 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.01861, allocations: 35.97 kB / 0.6294 GB, free: 2.531 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.0001263/0.01874, allocations: 118.8 kB / 0.6295 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.01879, allocations: 11.89 kB / 0.6296 GB, free: 2.395 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/0.02091, allocations: 1.396 MB / 0.6309 GB, free: 0.9922 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.02091, allocations: 4 kB / 0.6309 GB, free: 0.9883 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.02092, allocations: 4 kB / 0.6309 GB, free: 0.9844 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.02092, allocations: 7.969 kB / 0.6309 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.02272, allocations: 1.667 MB / 0.6326 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.02272, allocations: 3.984 kB / 0.6326 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003369/0.02306, allocations: 107.9 kB / 0.6327 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.02307, allocations: 4 kB / 0.6327 GB, free: 15.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.0231, allocations: 28 kB / 0.6327 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.02311, allocations: 4 kB / 0.6327 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.02311, allocations: 0 / 0.6327 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.02463, allocations: 1.47 MB / 0.6341 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.247e-05/0.02464, allocations: 19.88 kB / 0.6342 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.02469, allocations: 4 kB / 0.6342 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.02489, allocations: 12 kB / 0.6342 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.02497, allocations: 43.95 kB / 0.6342 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.02502, allocations: 40.05 kB / 0.6343 GB, free: 13.51 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.174e-05/0.02504, allocations: 79.22 kB / 0.6343 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.02504, allocations: 0 / 0.6343 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003706/0.02541, allocations: 183.6 kB / 0.6345 GB, free: 13.25 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.000354/0.02576, allocations: 250.7 kB / 0.6347 GB, free: 13 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008066/0.02657, allocations: 0.7132 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02657, allocations: 0 / 0.6354 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003918/0.02697, 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.0002162/0.02718, allocations: 23.11 kB / 0.6359 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.02887, allocations: 0.8141 MB / 0.6367 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.759e-05/0.02893, allocations: 99.59 kB / 0.6367 GB, free: 10.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/0.02931, allocations: 96.47 kB / 0.6368 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/0.02931, allocations: 0 / 0.6368 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of Templates: time 0.006342/0.03565, allocations: 7.131 MB / 0.6438 GB, free: 3.766 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.071688658557832] Failed to read output from testmodel.py, exit status != 0: 0.04107814282178879 0.048877828000000005 0.043780365 Calling exit ...