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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 111.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.137/1.137, allocations: 173.4 MB / 471.3 MB, free: 6.645 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001921/0.001921, allocations: 74.62 kB / 0.649 GB, free: 22.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1841, allocations: 89.52 MB / 0.7365 GB, free: 3.602 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001658/0.1858, allocations: 0.6184 MB / 0.7371 GB, free: 2.984 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.1874, allocations: 1.283 MB / 0.7383 GB, free: 1.684 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.667e-05/0.1875, allocations: 0 / 0.7383 GB, free: 1.684 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.157e-06/0.1875, allocations: 0 / 0.7383 GB, free: 1.684 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 1.794e-05/0.1875, allocations: 0 / 0.7383 GB, free: 1.684 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1878, allocations: 75.67 kB / 0.7384 GB, free: 1.609 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.725e-05/0.1879, allocations: 19.98 kB / 0.7384 GB, free: 1.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.014e-05/0.1879, allocations: 7.938 kB / 0.7384 GB, free: 1.582 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.012e-05/0.1879, allocations: 15.91 kB / 0.7384 GB, free: 1.566 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.188, allocations: 11.98 kB / 0.7384 GB, free: 1.555 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.188, allocations: 4 kB / 0.7384 GB, free: 1.551 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002154/0.1882, allocations: 107.9 kB / 0.7386 GB, free: 1.445 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.1882, allocations: 7.922 kB / 0.7386 GB, free: 1.438 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.54e-05/0.1883, allocations: 11.94 kB / 0.7386 GB, free: 1.426 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.1884, allocations: 67.78 kB / 0.7386 GB, free: 1.359 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1884, allocations: 0 / 0.7386 GB, free: 1.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.71e-07/0.1884, allocations: 0 / 0.7386 GB, free: 1.359 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.005e-06/0.1884, allocations: 0 / 0.7386 GB, free: 1.359 MB / 0.545 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.0004302/0.1889, allocations: 355.3 kB / 0.739 GB, free: 0.9648 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.1889, allocations: 12.03 kB / 0.739 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.1889, allocations: 4.938 kB / 0.739 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/0.1891, allocations: 172.3 kB / 0.7392 GB, free: 0.7422 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.856e-06/0.1891, allocations: 4.375 kB / 0.7392 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.1891, allocations: 384 / 0.7392 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1892, allocations: 54 kB / 0.7392 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1892, allocations: 0 / 0.7392 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1893, allocations: 4 kB / 0.7392 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-06/0.1893, allocations: 0 / 0.7392 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.43e-05/0.1893, allocations: 31.97 kB / 0.7392 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.1895, allocations: 161.6 kB / 0.7394 GB, free: 448 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1896, allocations: 62.5 kB / 0.7395 GB, free: 376 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.73e-05/0.1897, allocations: 28.84 kB / 0.7395 GB, free: 344 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005494/0.1903, allocations: 0.5583 MB / 0.74 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/0.1903, allocations: 50.48 kB / 0.7401 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.1903, allocations: 0 / 0.7401 GB, free: 15.59 MB / 0.5606 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.02057/0.2109, allocations: 4.359 MB / 0.7443 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.211, allocations: 59.41 kB / 0.7444 GB, free: 11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.834e-05/0.2111, allocations: 93.84 kB / 0.7445 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.059e-05/0.2112, allocations: 29.7 kB / 0.7445 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.2112, allocations: 84.14 kB / 0.7446 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.2113, allocations: 59.47 kB / 0.7446 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002562/0.2116, allocations: 89.67 kB / 0.7447 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.2117, allocations: 322.8 kB / 0.745 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005566/0.2123, allocations: 312 kB / 0.7453 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005654/0.2129, allocations: 317.1 kB / 0.7456 GB, free: 9.688 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.2145, allocations: 0.7722 MB / 0.7464 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2145, allocations: 0 / 0.7464 GB, free: 8.914 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001644/0.2162, allocations: 0.7943 MB / 0.7472 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.2162, allocations: 4 kB / 0.7472 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2162, allocations: 0 / 0.7472 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.2162, allocations: 4 kB / 0.7472 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008531/0.2171, allocations: 99.88 kB / 0.7473 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.2171, allocations: 0 / 0.7473 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005127/0.2176, allocations: 8 kB / 0.7473 GB, free: 8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.154e-05/0.2177, allocations: 35.97 kB / 0.7473 GB, free: 7.965 MB / 0.5606 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.0002062/0.2179, allocations: 121.8 kB / 0.7474 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.882e-05/0.218, allocations: 7.953 kB / 0.7474 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003293/0.2213, allocations: 1.407 MB / 0.7488 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.772e-06/0.2213, allocations: 4 kB / 0.7488 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.2213, allocations: 0 / 0.7488 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2214, allocations: 3.984 kB / 0.7488 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/0.2244, allocations: 1.818 MB / 0.7506 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2244, allocations: 0 / 0.7506 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007929/0.2252, allocations: 111.9 kB / 0.7507 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.2252, allocations: 4.031 kB / 0.7507 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001345/0.2254, allocations: 31.94 kB / 0.7507 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.2254, allocations: 3.984 kB / 0.7507 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2254, allocations: 0 / 0.7507 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.2278, allocations: 1.463 MB / 0.7522 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.968e-05/0.2279, allocations: 96.98 kB / 0.7523 GB, free: 2.773 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.046e-05/0.228, allocations: 11.92 kB / 0.7523 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005129/0.2285, allocations: 16.06 kB / 0.7523 GB, free: 2.746 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.2287, allocations: 39.97 kB / 0.7523 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/0.2288, allocations: 32 kB / 0.7524 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.439e-05/0.2288, allocations: 75.28 kB / 0.7524 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2288, allocations: 0 / 0.7524 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000607/0.2294, allocations: 183.7 kB / 0.7526 GB, free: 2.422 MB / 0.5606 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.0005199/0.23, allocations: 222.8 kB / 0.7528 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001286/0.2313, allocations: 0.7283 MB / 0.7535 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2313, allocations: 0 / 0.7535 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007061/0.232, allocations: 455.7 kB / 0.754 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.2323, allocations: 12 kB / 0.754 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.2358, allocations: 0.8329 MB / 0.7548 GB, free: 148 kB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.2362, allocations: 0.7182 MB / 0.7555 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006127/0.2368, allocations: 95.41 kB / 0.7556 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.2368, allocations: 0 / 0.7556 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.01069/0.2475, allocations: 6.898 MB / 0.7623 GB, free: 8.453 MB / 0.5762 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: 8.190167344873771] Failed to read output from testmodel.py, exit status != 0: 0.2540537549648434 0.26763599699999996 0.076548431 Calling exit ...