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.001462/0.001462, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001834/0.001834, allocations: 213.3 kB / 22.25 MB, free: 5.258 MB / 14.72 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8926/0.8926, allocations: 134 MB / 446.4 MB, free: 9.953 MB / 350.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/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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 64.91 kB / 0.619 GB, free: 6.367 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.1953, allocations: 85.9 MB / 0.7029 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00361/0.1989, allocations: 0.6211 MB / 0.7035 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003865/0.2028, allocations: 1.288 MB / 0.7048 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.516e-05/0.2028, allocations: 3.938 kB / 0.7048 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.622e-05/0.2029, allocations: 0 / 0.7048 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.076e-05/0.2029, allocations: 0 / 0.7048 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009104/0.2038, allocations: 91.66 kB / 0.7049 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.2039, allocations: 19.98 kB / 0.7049 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/0.204, allocations: 0 / 0.7049 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.207e-05/0.2041, allocations: 23.91 kB / 0.7049 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001756/0.2043, allocations: 7.984 kB / 0.7049 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.2043, allocations: 0 / 0.7049 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005722/0.2049, allocations: 103.9 kB / 0.705 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.895e-05/0.2049, allocations: 7.938 kB / 0.705 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.2049, allocations: 11.92 kB / 0.705 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.2052, allocations: 71.78 kB / 0.7051 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2052, allocations: 4 kB / 0.7051 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.956e-06/0.2053, allocations: 4 kB / 0.7051 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.781e-05/0.2053, allocations: 0 / 0.7051 GB, free: 14.28 MB / 0.5294 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.0007314/0.206, allocations: 282.1 kB / 0.7054 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.2061, allocations: 8.031 kB / 0.7054 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.477e-05/0.2061, allocations: 4.938 kB / 0.7054 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.2063, allocations: 106.5 kB / 0.7055 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.2063, allocations: 4.375 kB / 0.7055 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.2063, allocations: 12.33 kB / 0.7055 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002233/0.2066, allocations: 83.69 kB / 0.7056 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.2066, allocations: 0 / 0.7056 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.222e-05/0.2066, allocations: 7.984 kB / 0.7056 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2066, allocations: 0 / 0.7056 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.128e-05/0.2067, allocations: 19.98 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.2069, allocations: 109.3 kB / 0.7057 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.2071, allocations: 58.5 kB / 0.7058 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.635e-05/0.2072, allocations: 29.08 kB / 0.7058 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003279/0.2075, allocations: 39.97 kB / 0.7058 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.571e-05/0.2075, allocations: 38.55 kB / 0.7059 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.813e-06/0.2075, allocations: 0 / 0.7059 GB, free: 13.38 MB / 0.5294 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.02864/0.2362, allocations: 4.102 MB / 0.7099 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.2362, allocations: 51.41 kB / 0.7099 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.2363, allocations: 97.86 kB / 0.71 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.2365, allocations: 33.69 kB / 0.71 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.266e-05/0.2365, allocations: 80.14 kB / 0.7101 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.2367, allocations: 59.48 kB / 0.7102 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003636/0.237, allocations: 85.67 kB / 0.7103 GB, free: 8.766 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.2372, allocations: 326.8 kB / 0.7106 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000825/0.2381, allocations: 307.9 kB / 0.7109 GB, free: 8.137 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008338/0.2389, allocations: 315.8 kB / 0.7112 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0025/0.2414, allocations: 0.757 MB / 0.7119 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2414, allocations: 0 / 0.7119 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002514/0.2439, allocations: 0.7944 MB / 0.7127 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.2439, allocations: 4 kB / 0.7127 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2439, allocations: 0 / 0.7127 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.244, allocations: 0 / 0.7127 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.2451, allocations: 103.9 kB / 0.7128 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.2452, allocations: 0.9375 kB / 0.7128 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007321/0.2459, allocations: 4 kB / 0.7128 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001463/0.246, allocations: 35.97 kB / 0.7128 GB, free: 6.125 MB / 0.5294 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.0002777/0.2463, allocations: 121.8 kB / 0.7129 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.2464, allocations: 7.953 kB / 0.7129 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004696/0.2511, allocations: 1.388 MB / 0.7143 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.956e-06/0.2511, allocations: 4 kB / 0.7143 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2512, allocations: 4 kB / 0.7143 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.2512, allocations: 3.984 kB / 0.7143 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004856/0.256, allocations: 1.661 MB / 0.7159 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.256, allocations: 0 / 0.7159 GB, free: 2.879 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.2571, allocations: 107.9 kB / 0.716 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.818e-05/0.2572, allocations: 7.984 kB / 0.716 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001155/0.2573, allocations: 24 kB / 0.7161 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.2573, allocations: 4 kB / 0.7161 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.2573, allocations: 7.875 kB / 0.7161 GB, free: 2.73 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004037/0.2613, allocations: 1.459 MB / 0.7175 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.2614, allocations: 15.88 kB / 0.7175 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.2615, allocations: 8 kB / 0.7175 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007246/0.2622, allocations: 16 kB / 0.7175 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002334/0.2624, allocations: 47.98 kB / 0.7176 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.2626, allocations: 31.98 kB / 0.7176 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.086e-05/0.2626, allocations: 83.22 kB / 0.7177 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.2626, allocations: 0 / 0.7177 GB, free: 1.051 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001001/0.2636, allocations: 175.7 kB / 0.7179 GB, free: 0.8789 MB / 0.5294 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.000934/0.2646, allocations: 222.8 kB / 0.7181 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.2668, allocations: 0.7145 MB / 0.7188 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.2668, allocations: 0 / 0.7188 GB, free: 15.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.2679, allocations: 407.8 kB / 0.7192 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004713/0.2684, allocations: 18.19 kB / 0.7192 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/0.2732, allocations: 0.777 MB / 0.7199 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.2734, allocations: 111.3 kB / 0.72 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001601/0.275, allocations: 301.5 kB / 0.7203 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007765/0.2758, allocations: 91.41 kB / 0.7204 GB, free: 14.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.092e-06/0.2758, allocations: 0 / 0.7204 GB, free: 14.2 MB / 0.545 GB Notification: Performance of Templates: time 0.02617/0.302, allocations: 11.99 MB / 0.7321 GB, free: 2.301 MB / 0.545 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 sys.exit(0), Time elapsed: 6.010165486484766] Failed to read output from testmodel.py, exit status != 0: 0.31161415949463844 0.33049385899999995 0.12168901499999994 Calling exit ...