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.00126/0.00126, allocations: 116.1 kB / 17.17 MB, free: 6 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.002974/0.002974, allocations: 209.6 kB / 20.13 MB, free: 3.055 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.594/1.594, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8883/0.8883, allocations: 133.9 MB / 443.5 MB, free: 13.91 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.001962/0.001962, allocations: 66.91 kB / 0.6141 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1654, allocations: 85.87 MB / 0.698 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001975/0.1674, allocations: 0.6061 MB / 0.6986 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1693, allocations: 1.348 MB / 0.6999 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.472e-05/0.1694, allocations: 4 kB / 0.6999 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.1694, allocations: 0 / 0.6999 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.633e-05/0.1694, allocations: 0 / 0.6999 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.1698, allocations: 92.52 kB / 0.7 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.002e-05/0.1699, allocations: 18.98 kB / 0.7 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.1699, allocations: 5.359 kB / 0.7 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.86e-05/0.17, allocations: 17.2 kB / 0.7 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.885e-05/0.1701, allocations: 17.33 kB / 0.7001 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.1701, allocations: 1.219 kB / 0.7001 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002867/0.1703, allocations: 109.9 kB / 0.7002 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.1704, allocations: 5.672 kB / 0.7002 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.642e-05/0.1704, allocations: 11.72 kB / 0.7002 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.1706, allocations: 75.06 kB / 0.7003 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1706, allocations: 0 / 0.7003 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1706, allocations: 0 / 0.7003 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.1706, allocations: 1.344 kB / 0.7003 GB, free: 11.98 MB / 0.5137 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.0005109/0.1711, allocations: 351 kB / 0.7006 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.1711, allocations: 20.25 kB / 0.7006 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.569e-05/0.1712, allocations: 1.438 kB / 0.7006 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.536e-05/0.1712, allocations: 39.78 kB / 0.7006 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.1712, allocations: 2.938 kB / 0.7007 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.1714, allocations: 165.6 kB / 0.7008 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.1714, allocations: 1.688 kB / 0.7008 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.1714, allocations: 8.109 kB / 0.7008 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.1716, allocations: 56.89 kB / 0.7009 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1716, allocations: 0 / 0.7009 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1716, allocations: 4.969 kB / 0.7009 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1716, allocations: 1 kB / 0.7009 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/0.1717, allocations: 21.55 kB / 0.7009 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002096/0.1719, allocations: 173.3 kB / 0.7011 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.172, allocations: 58.11 kB / 0.7011 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.1721, allocations: 23.11 kB / 0.7011 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/0.1726, allocations: 0.5652 MB / 0.7017 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.1727, allocations: 31.91 kB / 0.7017 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.1727, allocations: 0 / 0.7017 GB, free: 10.3 MB / 0.5137 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.02056/0.1932, allocations: 4.318 MB / 0.7059 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.1933, allocations: 55.41 kB / 0.706 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.8e-05/0.1934, allocations: 93.84 kB / 0.7061 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.496e-05/0.1934, allocations: 29.7 kB / 0.7061 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.1935, allocations: 84.08 kB / 0.7062 GB, free: 6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.1936, allocations: 55.55 kB / 0.7062 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/0.1939, allocations: 89.67 kB / 0.7063 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.194, allocations: 326.9 kB / 0.7066 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005546/0.1946, allocations: 307.9 kB / 0.7069 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/0.1951, allocations: 311.8 kB / 0.7072 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001566/0.1967, allocations: 0.7563 MB / 0.708 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1967, allocations: 0 / 0.708 GB, free: 4.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001681/0.1984, allocations: 0.7994 MB / 0.7088 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.1984, allocations: 4 kB / 0.7088 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.1984, allocations: 0 / 0.7088 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.1984, allocations: 7.984 kB / 0.7088 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008921/0.1993, allocations: 99.88 kB / 0.7089 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.1993, allocations: 0 / 0.7089 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/0.1999, allocations: 8 kB / 0.7089 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.636e-05/0.2, allocations: 39.91 kB / 0.7089 GB, free: 3.199 MB / 0.5137 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.0002375/0.2002, allocations: 118.5 kB / 0.709 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.872e-05/0.2003, allocations: 11.89 kB / 0.709 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/0.2036, allocations: 1.388 MB / 0.7104 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.2036, allocations: 4 kB / 0.7104 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2036, allocations: 0 / 0.7104 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.2036, allocations: 3.984 kB / 0.7104 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003362/0.207, allocations: 1.81 MB / 0.7122 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.207, allocations: 0 / 0.7122 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008438/0.2079, allocations: 111.9 kB / 0.7123 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.2079, allocations: 7.938 kB / 0.7123 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.48e-05/0.2079, allocations: 27.98 kB / 0.7123 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2079, allocations: 0 / 0.7123 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2079, allocations: 4 kB / 0.7123 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002482/0.2104, allocations: 1.447 MB / 0.7137 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.2105, allocations: 96.98 kB / 0.7138 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-05/0.2106, allocations: 19.98 kB / 0.7138 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/0.2111, allocations: 12 kB / 0.7138 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/0.2113, allocations: 39.97 kB / 0.7139 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.77e-05/0.2114, allocations: 28 kB / 0.7139 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.176e-05/0.2114, allocations: 75.28 kB / 0.714 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2114, allocations: 0 / 0.714 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006211/0.212, allocations: 187.7 kB / 0.7142 GB, free: 13.7 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.003326/0.2154, allocations: 2.123 MB / 0.7162 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.2167, allocations: 0.7125 MB / 0.7169 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.2167, allocations: 4 kB / 0.7169 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006764/0.2174, allocations: 399.7 kB / 0.7173 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.2177, allocations: 22.02 kB / 0.7173 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008128/0.2259, allocations: 3.712 MB / 0.721 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.2263, allocations: 0.7142 MB / 0.7217 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001008/0.2273, allocations: 301.5 kB / 0.7219 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000596/0.2279, allocations: 119.4 kB / 0.7221 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of SimCode: time 8.82e-07/0.2279, allocations: 0 / 0.7221 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03671/0.2646, allocations: 12.87 MB / 0.7346 GB, free: 8.836 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.688/8.953, allocations: 14.78 kB / 0.7346 GB, free: 8.824 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.824415830953512] Failed to read output from testmodel.py, exit status != 0: 9.323243852995802 9.1017447 8.927314527 Calling exit ...