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.001443/0.001443, allocations: 113.3 kB / 18.7 MB, free: 3.145 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.007294/0.007294, allocations: 180.2 kB / 21.94 MB, free: 5.074 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.382/1.382, allocations: 225.6 MB / 250.7 MB, free: 13.32 MB / 206.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.077/1.077, allocations: 175.8 MB / 481.6 MB, free: 7.777 MB / 382.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.001968/0.001968, allocations: 68.17 kB / 0.6701 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4827, allocations: 94.53 MB / 0.7624 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001643/0.4844, allocations: 0.6135 MB / 0.763 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.4858, allocations: 1.307 MB / 0.7643 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.4858, allocations: 0 / 0.7643 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.4858, allocations: 3.938 kB / 0.7643 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 1.809e-05/0.4858, allocations: 1.656 kB / 0.7643 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.4862, allocations: 73.94 kB / 0.7644 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.293e-05/0.4862, allocations: 18.78 kB / 0.7644 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.4863, allocations: 3.062 kB / 0.7644 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.268e-05/0.4863, allocations: 19.98 kB / 0.7644 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.4864, allocations: 8.328 kB / 0.7644 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.4864, allocations: 5.75 kB / 0.7644 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002482/0.4866, allocations: 104 kB / 0.7645 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.4866, allocations: 7.5 kB / 0.7645 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.4867, allocations: 13.88 kB / 0.7646 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001796/0.4868, allocations: 70.98 kB / 0.7646 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.4868, allocations: 0.625 kB / 0.7646 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.424e-06/0.4869, allocations: 0.625 kB / 0.7646 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.4869, allocations: 3.75 kB / 0.7646 GB, free: 9.094 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.0004316/0.4873, allocations: 355.9 kB / 0.765 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.4873, allocations: 10 kB / 0.765 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.4874, allocations: 2.906 kB / 0.765 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.567e-05/0.4875, allocations: 163.6 kB / 0.7651 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.4875, allocations: 1.938 kB / 0.7651 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.224e-05/0.4875, allocations: 9.031 kB / 0.7651 GB, free: 8.523 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.4876, allocations: 57.7 kB / 0.7652 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.4877, allocations: 0.875 kB / 0.7652 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.4877, allocations: 5.094 kB / 0.7652 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.4877, allocations: 2.516 kB / 0.7652 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.326e-05/0.4878, allocations: 22.3 kB / 0.7652 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001568/0.4879, allocations: 166.9 kB / 0.7654 GB, free: 8.273 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.488, allocations: 53.31 kB / 0.7654 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.752e-05/0.4881, allocations: 30.56 kB / 0.7655 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004077/0.4885, allocations: 0.5575 MB / 0.766 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.4885, allocations: 44.19 kB / 0.7661 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.4885, allocations: 0 / 0.7661 GB, free: 7.516 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.01928/0.5078, allocations: 4.387 MB / 0.7703 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.098e-05/0.5078, allocations: 53.53 kB / 0.7704 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.692e-05/0.5079, allocations: 94.92 kB / 0.7705 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/0.5079, allocations: 30.61 kB / 0.7705 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.206e-05/0.5079, allocations: 85.09 kB / 0.7706 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.212e-05/0.508, allocations: 58.12 kB / 0.7706 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.5083, allocations: 90.83 kB / 0.7707 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.5083, allocations: 322.4 kB / 0.771 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004738/0.5088, allocations: 306.5 kB / 0.7713 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.5093, allocations: 322.2 kB / 0.7716 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.5107, allocations: 0.7632 MB / 0.7724 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5107, allocations: 3.938 kB / 0.7724 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001357/0.512, allocations: 0.803 MB / 0.7732 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.5121, allocations: 6.172 kB / 0.7732 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5121, allocations: 2.75 kB / 0.7732 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.5121, allocations: 0 / 0.7732 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.5128, allocations: 92.58 kB / 0.7733 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.5128, allocations: 0 / 0.7733 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004415/0.5132, allocations: 5.906 kB / 0.7733 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.19e-05/0.5133, allocations: 42.39 kB / 0.7733 GB, free: 4.055 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.0001392/0.5135, allocations: 121.3 kB / 0.7734 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.5135, allocations: 6.766 kB / 0.7734 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.5164, allocations: 1.399 MB / 0.7748 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5164, allocations: 11.66 kB / 0.7748 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.5164, allocations: 0.875 kB / 0.7748 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.5164, allocations: 3.656 kB / 0.7748 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.5189, allocations: 1.814 MB / 0.7766 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5189, allocations: 0.5156 kB / 0.7766 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006945/0.5196, allocations: 113 kB / 0.7767 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.5196, allocations: 0 / 0.7767 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.997e-05/0.5197, allocations: 39.31 kB / 0.7767 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5197, allocations: 5.438 kB / 0.7767 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5197, allocations: 0 / 0.7767 GB, free: 2.188 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.5217, allocations: 1.467 MB / 0.7782 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.294e-05/0.5217, allocations: 95.38 kB / 0.7783 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.299e-05/0.5218, allocations: 15.12 kB / 0.7783 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/0.5222, allocations: 12.06 kB / 0.7783 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.5224, allocations: 46.5 kB / 0.7783 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-05/0.5225, allocations: 35.23 kB / 0.7784 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.697e-05/0.5225, allocations: 75.98 kB / 0.7784 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5225, allocations: 0 / 0.7784 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005655/0.5231, allocations: 180.8 kB / 0.7786 GB, free: 1.195 MB / 0.5762 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.0004385/0.5235, allocations: 224 kB / 0.7788 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001101/0.5246, allocations: 0.7144 MB / 0.7795 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.5246, allocations: 4.094 kB / 0.7795 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005467/0.5251, allocations: 403.3 kB / 0.7799 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.5254, allocations: 12.44 kB / 0.7799 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.5284, allocations: 0.8413 MB / 0.7807 GB, free: 228 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.5287, allocations: 0.7172 MB / 0.7814 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005411/0.5292, allocations: 94.81 kB / 0.7815 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of SimCode: time 8.82e-07/0.5292, allocations: 0 / 0.7815 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.01185/0.5411, allocations: 6.897 MB / 0.7883 GB, free: 14.99 MB / 0.5919 GB " [Timeout remaining time 659] 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.274880462093279] Failed to read output from testmodel.py, exit status != 0: 0.5490762570407242 0.562064051 0.07239790800000001 Calling exit ...