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.001082/0.001082, allocations: 72.89 kB / 19.94 MB, free: 4.391 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.001279/0.001279, allocations: 173 kB / 23.36 MB, free: 0.9727 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.056/1.056, allocations: 177.2 MB / 203.8 MB, free: 5.469 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-545:108: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-545:116: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.8891/0.8891, allocations: 154.6 MB / 414.8 MB, free: 0.5156 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 1.453e-06/1.453e-06, allocations: 0 / 480.1 MB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.024e-05, allocations: 9.531 kB / 480.1 MB, free: 6.805 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001211/0.001231, allocations: 0.674 MB / 480.8 MB, free: 6.168 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001407/0.002639, allocations: 1.348 MB / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.002663, allocations: 0 / 482.1 MB, free: 4.812 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.516e-05/0.002678, allocations: 4.938 kB / 482.1 MB, free: 4.809 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 2.223e-05/0.002701, allocations: 4 kB / 482.1 MB, free: 4.805 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.003005, allocations: 74.59 kB / 482.2 MB, free: 4.734 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.89e-05/0.003054, allocations: 18.7 kB / 482.2 MB, free: 4.719 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.003094, allocations: 7.984 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.224e-05/0.003136, allocations: 17.08 kB / 482.3 MB, free: 4.695 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.003203, allocations: 9.266 kB / 482.3 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.037e-05/0.003213, allocations: 0.7656 kB / 482.3 MB, free: 4.688 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.003467, allocations: 128.8 kB / 482.4 MB, free: 4.562 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.003482, allocations: 5.641 kB / 482.4 MB, free: 4.559 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.598e-05/0.003498, allocations: 9.547 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.003636, allocations: 88.91 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.003638, allocations: 1.375 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003638, allocations: 1.156 kB / 482.5 MB, free: 4.465 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.003642, allocations: 0 / 482.5 MB, free: 4.465 MB / 442.7 MB 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.0002955/0.003938, allocations: 258.1 kB / 482.8 MB, free: 4.195 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.003969, allocations: 13.34 kB / 482.8 MB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.003997, allocations: 4.938 kB / 482.8 MB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.021e-05/0.004077, allocations: 105.7 kB / 482.9 MB, free: 4.051 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.004089, allocations: 8.375 kB / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.004107, allocations: 3.797 kB / 482.9 MB, free: 4.043 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.004195, allocations: 75.94 kB / 483 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.004205, allocations: 1.5 kB / 483 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.004212, allocations: 384 / 483 MB, free: 3.957 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.004218, allocations: 4.594 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.063e-05/0.004259, allocations: 15.98 kB / 483 MB, free: 3.938 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.49e-05/0.004354, allocations: 74.23 kB / 483.1 MB, free: 3.852 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.855e-05/0.004432, allocations: 51.81 kB / 483.1 MB, free: 3.793 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.004453, allocations: 17.08 kB / 483.1 MB, free: 3.773 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.004603, allocations: 49.64 kB / 483.2 MB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.004625, allocations: 35.53 kB / 483.2 MB, free: 3.684 MB / 442.7 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.004626, allocations: 0 / 483.2 MB, free: 3.684 MB / 442.7 MB 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.01005/0.01468, allocations: 4.71 MB / 487.9 MB, free: 14.98 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.01471, allocations: 51.41 kB / 488 MB, free: 14.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.194e-05/0.01477, allocations: 99.38 kB / 488.1 MB, free: 14.81 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.902e-05/0.01482, allocations: 25.7 kB / 488.1 MB, free: 14.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.666e-05/0.01484, allocations: 80.14 kB / 488.2 MB, free: 14.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.733e-05/0.01493, allocations: 63.47 kB / 488.2 MB, free: 14.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001432/0.01508, allocations: 46.3 kB / 488.3 MB, free: 14.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.01516, allocations: 319.4 kB / 488.6 MB, free: 14.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/0.01542, allocations: 312.5 kB / 488.9 MB, free: 13.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002654/0.01569, allocations: 316.4 kB / 489.2 MB, free: 13.65 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008324/0.01652, allocations: 0.7928 MB / 490 MB, free: 12.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.01652, allocations: 0 / 490 MB, free: 12.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007691/0.01729, allocations: 0.7436 MB / 490.7 MB, free: 12.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.0173, allocations: 17.42 kB / 490.8 MB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01731, allocations: 0 / 490.8 MB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.01732, allocations: 0 / 490.8 MB, free: 12.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.01771, allocations: 59.86 kB / 490.8 MB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.01771, allocations: 0.8438 kB / 490.8 MB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.01788, allocations: 4 kB / 490.8 MB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-05/0.01792, allocations: 8.484 kB / 490.8 MB, free: 12.02 MB / 458.7 MB 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.0001283/0.01805, allocations: 123.8 kB / 490.9 MB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.01812, allocations: 11.92 kB / 491 MB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.01954, allocations: 0.9611 MB / 491.9 MB, free: 11.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01955, allocations: 8.547 kB / 491.9 MB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01955, allocations: 5.688 kB / 491.9 MB, free: 11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.01955, allocations: 0 / 491.9 MB, free: 11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.02078, allocations: 0.9727 MB / 492.9 MB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.02078, allocations: 0 / 492.9 MB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.02115, allocations: 71.91 kB / 493 MB, free: 9.941 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.02116, allocations: 0 / 493 MB, free: 9.941 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.836e-05/0.02119, allocations: 12.5 kB / 493 MB, free: 9.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.0212, allocations: 3.984 kB / 493 MB, free: 9.926 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.0212, allocations: 9.938 kB / 493 MB, free: 9.918 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009228/0.02212, allocations: 0.8738 MB / 493.9 MB, free: 9.027 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.02214, allocations: 19.84 kB / 493.9 MB, free: 9.008 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.02218, allocations: 8 kB / 493.9 MB, free: 9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.02236, allocations: 13.81 kB / 493.9 MB, free: 8.988 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/0.02245, allocations: 19.95 kB / 493.9 MB, free: 8.969 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.02249, allocations: 15.98 kB / 493.9 MB, free: 8.953 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.536e-06/0.02249, allocations: 4.859 kB / 494 MB, free: 8.945 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02249, allocations: 1 kB / 494 MB, free: 8.945 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003471/0.02284, allocations: 179.7 kB / 494.1 MB, free: 8.77 MB / 458.7 MB 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.000318/0.02316, allocations: 240.4 kB / 494.4 MB, free: 8.527 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0005581/0.02372, allocations: 0.5738 MB / 494.9 MB, free: 7.953 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.02372, allocations: 0 / 494.9 MB, free: 7.953 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002496/0.02397, allocations: 261.4 kB / 495.2 MB, free: 7.695 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.02413, allocations: 20.89 kB / 495.2 MB, free: 7.676 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.02549, allocations: 0.5201 MB / 495.7 MB, free: 7.125 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/0.02553, allocations: 77.34 kB / 495.8 MB, free: 7.031 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006488/0.02618, allocations: 293.7 kB / 496.1 MB, free: 6.812 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005279/0.02671, allocations: 91.27 kB / 496.2 MB, free: 6.723 MB / 458.7 MB Notification: Performance of SimCode: time 4.11e-07/0.02671, allocations: 0 / 496.2 MB, free: 6.723 MB / 458.7 MB Notification: Performance of Templates: time 0.01322/0.03992, allocations: 12.92 MB / 0.4972 GB, free: 9.965 MB / 474.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7259460878558457]