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.001284/0.001284, allocations: 107.5 kB / 16.45 MB, free: 6.5 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.001402/0.001402, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.462/1.462, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.8565/0.8565, allocations: 133.9 MB / 442.8 MB, free: 11.29 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",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.001941/0.001941, allocations: 62.38 kB / 0.6135 GB, free: 8.793 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1681, allocations: 85.85 MB / 0.6973 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002025/0.1702, allocations: 0.607 MB / 0.6979 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001787/0.172, allocations: 1.346 MB / 0.6992 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.433e-05/0.172, allocations: 4 kB / 0.6992 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.223e-05/0.172, allocations: 0 / 0.6992 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 2.601e-05/0.172, allocations: 3.938 kB / 0.6992 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.1724, allocations: 88.7 kB / 0.6993 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.801e-05/0.1724, allocations: 19.97 kB / 0.6993 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.1725, allocations: 4 kB / 0.6993 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.55e-05/0.1725, allocations: 11.94 kB / 0.6993 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/0.1726, allocations: 15.91 kB / 0.6994 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.1726, allocations: 7.938 kB / 0.6994 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000275/0.1729, allocations: 103.9 kB / 0.6995 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.1729, allocations: 11.98 kB / 0.6995 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.1729, allocations: 7.938 kB / 0.6995 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.1731, allocations: 83.98 kB / 0.6996 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1731, allocations: 3.938 kB / 0.6996 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1731, allocations: 0 / 0.6996 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.1731, allocations: 0 / 0.6996 GB, free: 0.6797 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.0004805/0.1736, allocations: 355.3 kB / 0.6999 GB, free: 292 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.1736, allocations: 13.11 kB / 0.6999 GB, free: 280 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.1736, allocations: 30.75 kB / 0.7 GB, free: 240 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.1737, allocations: 4.938 kB / 0.7 GB, free: 236 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1738, allocations: 164.4 kB / 0.7001 GB, free: 32 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.1738, allocations: 4.375 kB / 0.7001 GB, free: 28 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.1739, allocations: 8.328 kB / 0.7001 GB, free: 20 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.174, allocations: 61.78 kB / 0.7002 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.174, allocations: 0 / 0.7002 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.1741, allocations: 0 / 0.7002 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.1741, allocations: 8 kB / 0.7002 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.428e-05/0.1741, allocations: 23.92 kB / 0.7002 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.1743, allocations: 165.7 kB / 0.7004 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.1745, allocations: 58.56 kB / 0.7004 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.599e-05/0.1745, allocations: 20.86 kB / 0.7005 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006881/0.1752, allocations: 0.5583 MB / 0.701 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.1753, allocations: 34.5 kB / 0.701 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.1753, allocations: 4 kB / 0.701 GB, free: 14.89 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.0213/0.1966, allocations: 4.334 MB / 0.7053 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/0.1966, allocations: 51.41 kB / 0.7053 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.1967, allocations: 101.8 kB / 0.7054 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 6.93e-05/0.1968, allocations: 29.7 kB / 0.7054 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.1968, allocations: 80.14 kB / 0.7055 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.197, allocations: 55.55 kB / 0.7056 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.1972, allocations: 89.67 kB / 0.7057 GB, free: 9.988 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.1974, allocations: 322.8 kB / 0.706 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005915/0.198, allocations: 307.9 kB / 0.7063 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006752/0.1987, allocations: 315.8 kB / 0.7066 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001684/0.2003, allocations: 0.7527 MB / 0.7073 GB, free: 8.301 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2003, allocations: 4 kB / 0.7073 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001696/0.202, allocations: 0.7903 MB / 0.7081 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.2021, allocations: 11.98 kB / 0.7081 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2021, allocations: 0 / 0.7081 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2021, allocations: 0 / 0.7081 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/0.2029, allocations: 87.95 kB / 0.7082 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.203, allocations: 0 / 0.7082 GB, free: 7.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/0.2035, allocations: 8 kB / 0.7082 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-05/0.2036, allocations: 44.84 kB / 0.7082 GB, free: 7.352 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.0002087/0.2038, allocations: 121.7 kB / 0.7083 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.2039, allocations: 7.953 kB / 0.7083 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/0.2072, allocations: 1.388 MB / 0.7097 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.2072, allocations: 7.984 kB / 0.7097 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.2072, allocations: 0 / 0.7097 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2072, allocations: 3.984 kB / 0.7097 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003103/0.2104, allocations: 1.814 MB / 0.7115 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2104, allocations: 3.938 kB / 0.7115 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008134/0.2112, allocations: 103.9 kB / 0.7116 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.2112, allocations: 7.938 kB / 0.7116 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.728e-05/0.2113, allocations: 35.92 kB / 0.7116 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.952e-06/0.2113, allocations: 4 kB / 0.7116 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2113, allocations: 4.031 kB / 0.7116 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.2139, allocations: 1.447 MB / 0.713 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.308e-05/0.2139, allocations: 96.97 kB / 0.7131 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.214, allocations: 11.94 kB / 0.7131 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005453/0.2146, allocations: 12 kB / 0.7132 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.2147, allocations: 39.97 kB / 0.7132 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.557e-05/0.2148, allocations: 28.06 kB / 0.7132 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.39e-05/0.2149, allocations: 87.27 kB / 0.7133 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2149, allocations: 3.938 kB / 0.7133 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006486/0.2155, allocations: 175.7 kB / 0.7135 GB, free: 1.84 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.003423/0.2189, allocations: 2.123 MB / 0.7155 GB, free: 15.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001451/0.2204, allocations: 0.7184 MB / 0.7163 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2204, allocations: 0 / 0.7163 GB, free: 14.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006938/0.2211, allocations: 395.7 kB / 0.7166 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.2214, allocations: 22.02 kB / 0.7166 GB, free: 14.56 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008227/0.2296, allocations: 3.698 MB / 0.7203 GB, free: 10.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.23, allocations: 0.7182 MB / 0.721 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000988/0.231, allocations: 297.5 kB / 0.7212 GB, free: 9.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005979/0.2316, allocations: 119.4 kB / 0.7214 GB, free: 9.633 MB / 0.545 GB Notification: Performance of SimCode: time 7.51e-07/0.2316, allocations: 3.938 kB / 0.7214 GB, free: 9.629 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04325/0.2749, allocations: 12.83 MB / 0.7339 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.355, allocations: 6.062 kB / 0.7339 GB, free: 12.96 MB / 0.5606 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 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.013220238994109] Failed to read output from testmodel.py, exit status != 0: 8.427674103993922 8.447293109 8.27143055 Calling exit ...