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.00128/0.00128, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001557/0.001557, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.492/1.492, allocations: 225.6 MB / 249.4 MB, free: 3.32 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.213/1.213, allocations: 175.7 MB / 480.2 MB, free: 3.211 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.002071/0.002071, allocations: 73.84 kB / 0.6684 GB, free: 10.57 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2344, allocations: 94.53 MB / 0.7607 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002191/0.2366, allocations: 0.6281 MB / 0.7614 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002008/0.2386, allocations: 1.29 MB / 0.7626 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.2386, allocations: 4 kB / 0.7626 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.828e-05/0.2386, allocations: 7.875 kB / 0.7626 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.124e-05/0.2387, allocations: 0 / 0.7626 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.2391, allocations: 75.73 kB / 0.7627 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.951e-05/0.2392, allocations: 19.98 kB / 0.7627 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.077e-05/0.2392, allocations: 3.938 kB / 0.7627 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.498e-05/0.2393, allocations: 19.91 kB / 0.7627 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.545e-05/0.2394, allocations: 15.98 kB / 0.7628 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.211e-05/0.2394, allocations: 0 / 0.7628 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.2396, allocations: 107.8 kB / 0.7629 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.2396, allocations: 15.92 kB / 0.7629 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.2397, allocations: 3.938 kB / 0.7629 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.2398, allocations: 71.78 kB / 0.7629 GB, free: 14 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2399, allocations: 0 / 0.7629 GB, free: 14 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2399, allocations: 0 / 0.7629 GB, free: 14 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.2399, allocations: 0 / 0.7629 GB, free: 14 MB / 0.5762 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.0005916/0.2405, allocations: 355.3 kB / 0.7633 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.2405, allocations: 8.031 kB / 0.7633 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.2405, allocations: 4.938 kB / 0.7633 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.2407, allocations: 168.4 kB / 0.7635 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.2407, allocations: 4.375 kB / 0.7635 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.2408, allocations: 4.375 kB / 0.7635 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.2409, allocations: 61.92 kB / 0.7635 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.2409, allocations: 0 / 0.7635 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.2409, allocations: 0 / 0.7635 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.2409, allocations: 0 / 0.7635 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.934e-05/0.241, allocations: 27.97 kB / 0.7635 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.2413, allocations: 169.6 kB / 0.7637 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.2414, allocations: 54.56 kB / 0.7638 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.321e-05/0.2415, allocations: 20.84 kB / 0.7638 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000625/0.2421, allocations: 0.5583 MB / 0.7643 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.2421, allocations: 42.5 kB / 0.7644 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.2421, allocations: 0 / 0.7644 GB, free: 12.25 MB / 0.5762 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.01923/0.2614, allocations: 4.379 MB / 0.7686 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.2614, allocations: 55.41 kB / 0.7687 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.311e-05/0.2615, allocations: 101.8 kB / 0.7688 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.2615, allocations: 25.7 kB / 0.7688 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.561e-05/0.2616, allocations: 80.14 kB / 0.7689 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.2617, allocations: 59.48 kB / 0.769 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/0.262, allocations: 93.67 kB / 0.769 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.2621, allocations: 318.8 kB / 0.7693 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005292/0.2626, allocations: 311.9 kB / 0.7696 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005232/0.2631, allocations: 309.7 kB / 0.7699 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.2647, allocations: 0.7722 MB / 0.7707 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.2647, allocations: 0 / 0.7707 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001552/0.2662, allocations: 0.802 MB / 0.7715 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2662, allocations: 4 kB / 0.7715 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2662, allocations: 0 / 0.7715 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.2663, allocations: 0 / 0.7715 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/0.267, allocations: 99.94 kB / 0.7716 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.267, allocations: 4 kB / 0.7716 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004262/0.2675, allocations: 4 kB / 0.7716 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.586e-05/0.2676, allocations: 39.97 kB / 0.7716 GB, free: 4.609 MB / 0.5762 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.000186/0.2677, allocations: 125.7 kB / 0.7717 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.2678, allocations: 7.953 kB / 0.7717 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002993/0.2708, allocations: 1.396 MB / 0.7731 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.2708, allocations: 4 kB / 0.7731 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2708, allocations: 0 / 0.7731 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.2708, allocations: 3.984 kB / 0.7731 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/0.2739, allocations: 1.822 MB / 0.7749 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2739, allocations: 0 / 0.7749 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007307/0.2746, allocations: 107.9 kB / 0.775 GB, free: 1.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.2746, allocations: 4 kB / 0.775 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/0.2747, allocations: 27.94 kB / 0.775 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.2747, allocations: 12.02 kB / 0.775 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2747, allocations: 0 / 0.775 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.2772, allocations: 1.459 MB / 0.7765 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.2772, allocations: 92.98 kB / 0.7766 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.456e-05/0.2773, allocations: 19.86 kB / 0.7766 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000451/0.2778, allocations: 8 kB / 0.7766 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/0.2779, allocations: 51.97 kB / 0.7766 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-05/0.278, allocations: 32 kB / 0.7767 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.435e-05/0.2781, allocations: 75.28 kB / 0.7767 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2781, allocations: 0 / 0.7767 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005846/0.2786, allocations: 183.7 kB / 0.7769 GB, free: 15.06 MB / 0.5919 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.0005033/0.2792, allocations: 218.7 kB / 0.7771 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001296/0.2804, allocations: 0.7161 MB / 0.7778 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.2805, allocations: 4.094 kB / 0.7778 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0006624/0.2811, allocations: 403.7 kB / 0.7782 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.2814, allocations: 12 kB / 0.7782 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00312/0.2845, allocations: 0.8196 MB / 0.779 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.2849, allocations: 0.7143 MB / 0.7797 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009817/0.2859, allocations: 293.5 kB / 0.78 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.2864, allocations: 91.41 kB / 0.7801 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of SimCode: time 8.72e-07/0.2864, allocations: 4 kB / 0.7801 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of Templates: time 0.01894/0.3053, allocations: 11.68 MB / 0.7915 GB, free: 108 kB / 0.5919 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 sys.exit(0), Time elapsed: 6.449119149707258]