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.001277/0.001277, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001421/0.001421, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.8502/0.8502, allocations: 134 MB / 447.2 MB, free: 9.945 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) [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.002134/0.002134, allocations: 62.09 kB / 0.6193 GB, free: 6.895 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1751, allocations: 85.91 MB / 0.7032 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00198/0.177, allocations: 0.6131 MB / 0.7038 GB, free: 476 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001938/0.179, allocations: 1.292 MB / 0.705 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.179, allocations: 0 / 0.705 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.397e-05/0.179, allocations: 7.938 kB / 0.7051 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.16e-05/0.179, allocations: 0 / 0.7051 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.1795, allocations: 83.72 kB / 0.7051 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.505e-05/0.1796, allocations: 19.98 kB / 0.7051 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.939e-05/0.1796, allocations: 4 kB / 0.7052 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.369e-05/0.1796, allocations: 11.92 kB / 0.7052 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.084e-05/0.1797, allocations: 15.97 kB / 0.7052 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1797, allocations: 4 kB / 0.7052 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002963/0.18, allocations: 111.8 kB / 0.7053 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.516e-05/0.18, allocations: 3.938 kB / 0.7053 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.18, allocations: 15.92 kB / 0.7053 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.1802, allocations: 80 kB / 0.7054 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1802, allocations: 0 / 0.7054 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1802, allocations: 0 / 0.7054 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.1802, allocations: 0 / 0.7054 GB, free: 14.8 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.0004883/0.1807, allocations: 282.1 kB / 0.7057 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.1808, allocations: 12.03 kB / 0.7057 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.754e-05/0.1808, allocations: 192 / 0.7057 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.1808, allocations: 34.75 kB / 0.7057 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.1808, allocations: 4.938 kB / 0.7057 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.181, allocations: 106.5 kB / 0.7058 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.181, allocations: 4.375 kB / 0.7058 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.181, allocations: 8.328 kB / 0.7058 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1811, allocations: 87.25 kB / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1812, allocations: 0 / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1812, allocations: 0 / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1812, allocations: 0 / 0.7059 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-05/0.1812, allocations: 27.98 kB / 0.7059 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.1814, allocations: 132.8 kB / 0.7061 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001245/0.1816, allocations: 50.56 kB / 0.7061 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.984e-05/0.1816, allocations: 36.77 kB / 0.7061 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.1819, allocations: 39.91 kB / 0.7062 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.1819, allocations: 34.56 kB / 0.7062 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.1819, allocations: 0 / 0.7062 GB, free: 13.82 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.02074/0.2027, allocations: 4.101 MB / 0.7102 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.2027, allocations: 59.34 kB / 0.7103 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.465e-05/0.2028, allocations: 93.86 kB / 0.7104 GB, free: 9.473 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.866e-05/0.2029, allocations: 25.7 kB / 0.7104 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.203, allocations: 88.12 kB / 0.7105 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/0.2031, allocations: 55.48 kB / 0.7105 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.2034, allocations: 97.66 kB / 0.7106 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2035, allocations: 314.8 kB / 0.7109 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005794/0.2041, allocations: 311.9 kB / 0.7112 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005623/0.2047, allocations: 318.1 kB / 0.7115 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.2063, allocations: 0.7546 MB / 0.7123 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.2063, allocations: 3.938 kB / 0.7123 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001627/0.2079, allocations: 0.7925 MB / 0.713 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2079, allocations: 8 kB / 0.713 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2079, allocations: 0 / 0.713 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2079, allocations: 0 / 0.713 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008014/0.2087, allocations: 91.95 kB / 0.7131 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2087, allocations: 3.984 kB / 0.7131 GB, free: 6.605 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004939/0.2092, allocations: 8 kB / 0.7131 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/0.2093, allocations: 43.86 kB / 0.7132 GB, free: 6.555 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.0002045/0.2095, allocations: 113.8 kB / 0.7133 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.2096, allocations: 7.953 kB / 0.7133 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003326/0.213, allocations: 1.384 MB / 0.7146 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.213, allocations: 11.92 kB / 0.7147 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.213, allocations: 0 / 0.7147 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.213, allocations: 0 / 0.7147 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.2161, allocations: 1.7 MB / 0.7163 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.2161, allocations: 0 / 0.7163 GB, free: 3.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007901/0.2169, allocations: 107.9 kB / 0.7164 GB, free: 3.164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.926e-05/0.2169, allocations: 7.938 kB / 0.7164 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.893e-05/0.217, allocations: 24 kB / 0.7165 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.072e-06/0.217, allocations: 4 kB / 0.7165 GB, free: 3.129 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.217, allocations: 3.984 kB / 0.7165 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.2196, allocations: 1.451 MB / 0.7179 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.2196, allocations: 23.97 kB / 0.7179 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.826e-05/0.2197, allocations: 15.86 kB / 0.7179 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006698/0.2204, allocations: 12 kB / 0.7179 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.2206, allocations: 43.95 kB / 0.718 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.462e-05/0.2207, allocations: 28 kB / 0.718 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.877e-05/0.2207, allocations: 79.28 kB / 0.7181 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2207, allocations: 0 / 0.7181 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006193/0.2214, allocations: 183.6 kB / 0.7182 GB, free: 1.273 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.003563/0.2249, allocations: 2.115 MB / 0.7203 GB, free: 15.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.2263, allocations: 0.7112 MB / 0.721 GB, free: 14.42 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.2263, allocations: 4 kB / 0.721 GB, free: 14.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006756/0.2269, allocations: 403.6 kB / 0.7214 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.2273, allocations: 16 kB / 0.7214 GB, free: 14 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008264/0.2355, allocations: 3.689 MB / 0.725 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.2357, allocations: 107.5 kB / 0.7251 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001069/0.2367, allocations: 293.4 kB / 0.7254 GB, free: 9.824 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006406/0.2374, allocations: 119.4 kB / 0.7255 GB, free: 9.707 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/0.2374, allocations: 4 kB / 0.7255 GB, free: 9.703 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03983/0.2772, allocations: 13.79 MB / 0.739 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.57, allocations: 13.16 kB / 0.739 GB, free: 12.09 MB / 0.5606 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.54775505408179] Failed to read output from testmodel.py, exit status != 0: 11.738257513032295 12.041992825 11.57010663 Calling exit ...